filipp
f385c3fa21
Fix(VIM-795): Ctrl-w + h doesn't alway work (window navigation to the left window)
2023-03-12 00:20:08 +02:00
filipp
3ddd4a1a58
Fix(VIM-2868): Pasting in visual mode with P should not replace yank register like when pasting with p
2023-03-10 23:30:35 +02:00
filipp
4c7c3dba00
Fix(VIM-2733): vim-surround emulation interacts incorrectly with unmatched quotes on previous lines
2023-03-10 21:20:18 +02:00
Alex Plate
119975c313
Remove experimental API
2023-03-10 18:30:07 +02:00
Alex Plate
d5eaf85473
Better support for esc in octopus mode
2023-03-10 14:33:31 +02:00
Alex Plate
66172c843d
Enable explicit api mode for IdeaVim
2023-03-10 13:20:29 +02:00
Alex Plate
88b3373e5c
Add option to enable octopus handler
2023-03-10 12:11:17 +02:00
Alex Plate
320d91d639
Add esc to octopus handler
2023-03-10 12:00:41 +02:00
Matt Ellis
c192f319d1
Simplify setting known options a little
2023-03-10 10:17:45 +02:00
Matt Ellis
097dfa06a6
Add a couple of convenience functions
2023-03-10 10:17:45 +02:00
Matt Ellis
90ca544d0a
Move getter helpers out of the options interface
...
The interface now has a simple setter and getter, as well as other functions for managing options. More friendly functions for getting and setting values are available as extension functions
2023-03-10 10:17:45 +02:00
Matt Ellis
2bc9640b88
Remove last of 'set' validation code
2023-03-10 10:17:45 +02:00
Matt Ellis
40ffddf5ef
Push toggle option validation into ':set' command
2023-03-10 10:17:45 +02:00
Matt Ellis
bd28c9da23
Push more ':set' command validation into command
2023-03-10 10:17:45 +02:00
Matt Ellis
11ef024779
Move ':set' command validation out of interface
...
Moves functions that require validation parameters to extension functions. Core interface should not require additional user facing paramter
2023-03-10 10:17:45 +02:00
Matt Ellis
91c8e7ebda
Rename getOptionByNameOrAbbrev
2023-03-10 10:17:45 +02:00
Matt Ellis
3c3014fdc6
Remove unused getAbbrevs function
2023-03-10 10:17:45 +02:00
Matt Ellis
d97e4c44ee
Rename "token" and remove default argument
2023-03-10 10:17:45 +02:00
Matt Ellis
1b88c514da
Move IjVimOptionGroup to correct package & rename
2023-03-10 10:17:45 +02:00
Matt Ellis
96c1094a61
Replace OptionService with VimOptionGroup
...
Leaves a skeleton, deprecated implementation of OptionService for existing external use by plugins
2023-03-10 10:17:45 +02:00
Matt Ellis
4232d3d8a2
Remove unused local options types
2023-03-10 10:17:45 +02:00
Matt Ellis
73b64c19ff
Move OptionValueAccessor to options package
2023-03-10 10:17:45 +02:00
Matt Ellis
15ccdb2055
Remove unnecessary getOptionServiceImpl
2023-03-10 10:17:45 +02:00
Matt Ellis
418067b077
Remove unused deprecated method
...
No external usages
2023-03-10 10:17:45 +02:00
Matt Ellis
88b29d1a14
Isolate and remove deprecated code
...
Moves ToggleOption to the proper package, leaving behind a skeleton class to keep ideavim-sneak and IdeaVim-EasyMotion happy.
Removes NumberOption and related number OptionsManager properties which are only used by which-key 0.6.2, because this plugin is already broken due to a separate API change. (The plugin is expecting the command trie to use `CommandPartNode<ActionBeanClass>`, but it's actually using `CommandPartNode<VimActionsInitiator>`). Also removes `ToggleOption.value`, used by which-key
2023-03-10 10:17:45 +02:00
Matt Ellis
4540d216cb
Move StrictMode out of options package
2023-03-10 10:17:45 +02:00
kawagh
1bd6defc84
Include escaped character in search target
2023-03-10 09:37:46 +02:00
Alex Plate
181d76ae7b
Improvements for octopus handler
2023-03-09 16:45:06 +02:00
filipp
72be9845fa
Fix(VIM-2885): "v:searchforward" does't work for IdeaVim
2023-03-09 15:56:34 +02:00
filipp
00901f60dc
Add get()
function
2023-03-08 20:06:43 +02:00
filipp
21aaf06a63
Add split function
2023-03-08 19:21:02 +02:00
Alex Plate
d81774c9a7
Add octopus connector that attaches IdeaVim to IJ using EditorActionHandlers
2023-03-08 13:56:31 +02:00
Alex Plate
2cb6fb041e
Use injector to create execution context
2023-03-08 13:06:36 +02:00
Alex Plate
b7d5ee9a75
Add doc why we can move to project activity at the moment
2023-03-08 12:59:48 +02:00
Alex Plate
24dd84b31c
Revert "Migrate to project activity"
...
This reverts commit fc7efd5484
.
2023-03-08 12:57:13 +02:00
Alex Plate
0e96819e86
Update creation of execution context
2023-03-08 11:35:01 +02:00
Alex Plate
fc7efd5484
Migrate to project activity
2023-03-08 09:30:33 +02:00
filipp
2c9aa8e30e
FIX(VIM-2881): ReplaceRegister does no longer worker with MultiCursor
2023-03-07 17:24:19 +02:00
Alex Plate
a3039e05d4
Fix(VIM-1735): Fix enabling mulple carets after line selection
2023-03-07 09:44:01 +02:00
Alex Plate
bed078213b
Fix some qodana issues
2023-03-07 09:44:01 +02:00
Alex Plate
b413c8e715
Update formatting
2023-03-05 00:20:18 +00:00
Alex Plate
5b636b2b5e
Perform code cleanup
2023-03-03 17:57:42 +02:00
Alex Plate
6db4874acd
Migrate NerdTree to new startup activity
2023-03-03 17:57:41 +02:00
Alex Plate
c5f8eaf1cf
Run ktlinter
2023-03-03 17:57:41 +02:00
Alex Plate
c9568b4301
Switch to AnActionWrapper instead of deprecated EmptyAction
2023-03-03 17:57:41 +02:00
Alex Plate
e1c712abb7
Include the original editor context into our custom editor context
...
Bug reference: https://youtrack.jetbrains.com/issue/VIM-2315/Bug-in-leader-key-handling-in-ideavim#focus=Comments-27-6918383.0-0
2023-03-03 17:57:41 +02:00
Dominic Palmer
dd69d0fad2
Prevent viewport displacement on undo
2023-03-01 17:41:59 +02:00
filipp
8fe6c8bde7
Jumps refactoring
2023-02-28 13:11:08 +02:00
Alex Plate
ec4684c336
Fix qodana inspections
2023-02-28 10:10:24 +02:00
Alex Plate
ec05ca11ba
Fix possible NPE
2023-02-28 10:00:42 +02:00