Alex Plate
e449bb9692
Refactor ChangeGroup listeners
2020-04-30 10:41:29 +03:00
Alex Plate
b8fc72b6a7
Do not create project manager if it doesn't exist yet
2020-04-30 10:28:03 +03:00
Alex Plate
0a0e3df42b
Extract statistic reporter into the separate file
2020-04-28 11:41:33 +03:00
Alex Plate
949c69a7e9
Refactor EditorGroup listeners
2020-04-28 11:41:33 +03:00
Alex Plate
69caf7a604
Refactor MotionGroup listeners
2020-04-28 11:41:32 +03:00
Alex Plate
23860ad5f9
Use project-level service as parent disposable
2020-04-28 11:41:32 +03:00
Alex Plate
ace5234d8d
Update showcmd widget
2020-04-28 11:41:32 +03:00
Alex Plate
4654f821a9
Fix issue with listener removing
2020-04-28 11:41:32 +03:00
Alex Plate
927e0e7865
Update status bar widget to the new API
2020-04-28 11:41:32 +03:00
Alex Plate
d47c9735b5
Use concurrent list to store listeners
2020-04-28 11:41:31 +03:00
Alex Plate
6100433636
Move StatusBar.kt to a different package
2020-04-28 11:41:31 +03:00
Alex Plate
ca8d05ff13
Clear keymap on reset
2020-04-28 11:41:30 +03:00
Alex Plate
626871e34d
Register topics via xml file
2020-04-28 11:41:29 +03:00
Alex Plate
1b18065e68
Small refactoring of handlers
2020-04-18 17:43:50 +03:00
Alex Plate
053dc02152
EditorActionHandlerBase doesn't take null as caret
2020-04-18 16:40:07 +03:00
Alex Pláte
4ec0bac275
Merge pull request #234 from runforprogram/master
...
[VIM-1991] fix >0 number register not work
2020-04-17 10:19:49 +03:00
Alex Plate
83dca71f69
[VIM-1992] Fix shift-letter mappings
2020-04-16 11:20:26 +03:00
run
962cfb7ae2
[VIM-1991] fix >0 number register not work
2020-04-16 15:45:57 +08:00
Valery Isaev
9bc2ec7d8a
Fix #VIM-1994
2020-04-13 15:02:49 +03:00
Alex Plate
0a4683d908
Clean up repository for the release
2020-04-09 11:06:21 +03:00
Alex Plate
e88a3deafd
Fix replace with clipboard register
2020-04-09 10:25:42 +03:00
Matt Ellis
7de08e08d0
Support smooth scrolling
2020-04-07 17:30:18 +01:00
Alex Plate
95c7a13cb5
Turning plugin on should be performed after commands registration
2020-04-07 11:27:24 +03:00
Alex Plate
a83c326736
Add logging for activating ex panel
2020-04-03 08:23:55 +03:00
Alex Plate
b1acb56247
Fix exception for ciw on last char in file
2020-03-28 15:57:54 +03:00
Alex Plate
caa4731a13
Fix exception when using text objects on empty files
2020-03-28 15:39:06 +03:00
Alex Plate
5b0ece7a91
ReplaceWithRegister for clipboard registers
2020-03-23 10:34:53 +03:00
Alexey Gerasimov
a4cd94847e
Return VISUAL_BLOCK submode from autodetect only if 'Add Selection for NextOccurrence' was not performed previously
2020-03-22 16:45:45 +05:00
Alexey Gerasimov
a0a7386b51
Remove highlight after command is executed or canceled
2020-03-21 20:08:57 +05:00
Alexey Gerasimov
535a72000f
Cleanup
2020-03-21 20:08:37 +05:00
Alexey Gerasimov
60531b9cd2
Add methods in RegisterGroup and VimExtensionFacade to setRegister with specified selection type
2020-03-21 20:04:30 +05:00
Alexey Gerasimov
9ea08da133
Add VimExchange extension
2020-03-21 17:09:02 +05:00
Alexey Gerasimov
7db74460fa
Fix marks range end position handling, as excluded
2020-03-21 17:09:02 +05:00
Alex Plate
4bbbdf8108
Fix ReplaceWithRegister to the empty line
2020-03-20 10:35:08 +03:00
Alex Pláte
04a193309d
Merge pull request #228 from kevin70/master
...
fixed #VIM-570
2020-03-20 10:34:58 +03:00
Alex Plate
f106ffa176
Support ReplaceWithRegister plugin emulation
2020-03-19 11:25:30 +03:00
Alex Plate
8d5d099542
Update icon on ideastatusicon option change
2020-03-19 09:13:49 +03:00
kk
4849992ca9
fixed #VIM-570
2020-03-18 18:49:55 +08:00
Alex Plate
623105650e
PutTextAction refactor
2020-03-17 09:43:40 +03:00
Alex Plate
5e2c01daa6
Rename PutTextAction.kt
2020-03-17 09:32:46 +03:00
Alex Plate
58bf3a4d30
Merge Put actions into one file
2020-03-17 09:28:49 +03:00
Alex Plate
246f5cd8cf
VIM-1911 Lookup keys respect IDE handler
2020-03-14 23:03:42 +03:00
Alex Plate
e632c653f6
Add showcmd text to widget label
2020-03-14 18:05:38 +03:00
Alex Plate
174d17b088
VIM-1958 Fix X command for linewise selection
2020-03-14 18:00:45 +03:00
Alex Plate
b768b26c85
Remove some warnings
2020-03-14 17:28:14 +03:00
Alex Plate
123ce6ebaf
Get rid of deprecated KeyEvents
2020-03-14 15:55:01 +03:00
Alex Plate
f898b8d181
Fix mappings to <S-Space>
2020-03-12 11:25:14 +03:00
Alex Plate
e9f9e531e4
Convert vim typed action to kt
2020-03-12 11:04:35 +03:00
Alex Plate
a7d813cb86
Rename .java to .kt
2020-03-12 11:04:35 +03:00
Alex Plate
75b6eedb12
Remove unused class
2020-03-12 10:33:52 +03:00
Alex Plate
ec6860aa90
Change the label of showcmd widget
2020-03-12 10:03:39 +03:00
Alex Plate
5cf661c6ae
Fix exception during command typing
2020-03-10 14:58:35 +03:00
Alex Plate
8c62caae7c
Fix compilation errors
2020-03-10 11:30:10 +03:00
Alex Pláte
b7af1e6289
Merge branch 'master' into feature/showcmd
2020-03-10 10:24:06 +03:00
Alex Plate
0c77b320db
VIM-570 Print non-ascii characters in ex panel
2020-03-06 13:03:28 +03:00
Alex Pláte
93462d7505
Merge pull request #221 from igrekster/master
...
argtextobj: support bracket pairs configuration via let g:argtextobj_pairs="..."
2020-03-06 09:54:33 +03:00
Alex Plate
7cdb7dc308
Fix some tests for older versions of IDE
2020-03-04 10:32:05 +03:00
John Weigel
2f148255f7
Cleanup
2020-03-03 23:14:11 -06:00
John Weigel
cb00b8b335
Merge remote-tracking branch 'upstream/master' into buffer_command
2020-03-03 23:10:00 -06:00
John Weigel
559b56c8a2
Minor updates
2020-03-03 23:05:32 -06:00
Alex Plate
2820decb5e
Rename variable
2020-03-03 11:07:07 +03:00
Alex Pláte
c64f368e6a
Merge pull request #217 from angelbot/master
...
Add support for buffer list (buffers, files, ls)
2020-03-03 11:05:43 +03:00
Alex Plate
b7c8e84f5e
Minor cleanup
2020-03-03 11:03:36 +03:00
Alex Plate
5acf6c9158
Convert VimPlugin to service
2020-02-28 21:11:12 +03:00
Alex Plate
a8197b0c84
Convert runnableHelper to kt
2020-02-28 18:15:40 +03:00
Alex Plate
2e03062c24
Rename .java to .kt
2020-02-28 18:15:39 +03:00
Alex Plate
0327ea972b
Make Open ideavimrc
dumb aware
2020-02-28 10:29:38 +03:00
Alex Plate
561cc77ecc
Move related methods closer to each other
2020-02-28 09:42:22 +03:00
Alex Pláte
730ce3aca9
Merge pull request #226 from agrison/master
...
Implement the vim-textobj-entire plugin emulation.
2020-02-27 14:23:31 +03:00
Alexandre Grison
1893dc6afd
Fixes from feedback.
...
Renamed `entiretextobj` to `textobj-entire` including packages and class name.
Renamed `<Plug>IncludingLeadingTrailing` to `<Plug>textobj-entire-a`.
Renamed `<Plug>IgnoringLeadingTrailing` to `<Plug>textobj-entire-i`.
Avoid iterating too much the buffer content.
2020-02-27 11:46:23 +01:00
igrekster
6ec39314ee
argtextobj: support bracket pairs configuration via let g:argtextobj_pairs="..."
...
argtextobj by default only handles arguments inside parenthesis. This is
very limiting when editing C++ source files. This change allows the list
of bracket pairs to be configurable via a global IdeaVim variable. The
variable takes effect immediately.
2020-02-26 10:32:21 +11:00
John Weigel
33d34f35e9
Merge branch 'master' into buffer_command
2020-02-23 21:49:22 -06:00
John Weigel
1f4f40fd7c
Merge remote-tracking branch 'upstream/master'
2020-02-23 21:48:30 -06:00
John Weigel
7c908b247e
Merge branch 'master' into buffer_command
2020-02-23 21:14:21 -06:00
John Weigel
c87528939b
Fix buffer numbering bug with filters.
...
Update test to cover fix.
2020-02-23 21:11:36 -06:00
John Weigel
41c822fde1
Add support for buffer command.
2020-02-23 20:45:06 -06:00
Alex Plate
b8a40d93f7
Now every service handles it's state separately. VimLocalConfig is a service
2020-02-21 12:03:02 +03:00
Alexandre Grison
36f6027b0e
Implement the vim-textobj-entire plugin emulation.
2020-02-20 12:13:55 +01:00
Alex Plate
929eee4a12
Add comments for NotificationService.kt
2020-02-20 10:13:47 +03:00
Alex Plate
48927b1207
Small corrections after merge
2020-02-19 11:58:37 +03:00
Alex Plate
0820893dc6
Update annotations to java 8 style
2020-02-19 11:58:27 +03:00
Alex Pláte
dd6079cfa6
Merge pull request #219 from fan-tom/bugifx/1008
...
Fix block actions (i.e ci{) in presence of quotes (VIM-1008)
2020-02-19 11:53:19 +03:00
Piotr Mikulski
2a6569742d
populate intelij navigation history together with ideavim jumplist
2020-02-17 17:55:45 -08:00
John Weigel
3d7d75bae4
Merge remote-tracking branch 'upstream/master'
2020-02-16 21:11:02 -06:00
John Weigel
6da4d0ce5e
Rework buffer list to more closely mimic vim.
2020-02-16 20:40:17 -06:00
Alex Plate
c873081dc3
Merge pull request #133 from igrekster/master
...
Add argtextobj.vim plugin emulation
2020-02-14 12:30:13 +03:00
Alex Plate
eb01b25f35
Fix some cases by disabling [, { and < support (what is not supported in the original plugin)
2020-02-14 12:23:32 +03:00
Alex Plate
c0c9cfaf86
Get rid of several getText
methods
2020-02-14 10:54:22 +03:00
Alex Plate
304f860eb2
Use java 8 JetBrains annotations
2020-02-14 10:32:18 +03:00
Matt Ellis
14c8b6a248
Fix nullability compile error on 2019.2
2020-02-11 10:29:02 +00:00
Matt Ellis
9b71215cde
Merge branch 'master' into feature/showcmd
2020-02-11 00:24:29 +00:00
Matt Ellis
4f43bcffb9
Replace SelectRegisterAction with direct parsing
...
It's not a command, but part of a command
2020-02-11 00:08:08 +00:00
Matt Ellis
29e4dc5fb5
Show digraph entry in showcmd
2020-02-10 23:38:02 +00:00
Matt Ellis
0dc95cb13c
[VIM-434] Display showcmd in status bar
...
IdeaVim has showcmd enabled by default. Vim has it enabled by default, but disabled for Unix, with concerns about slow terminals. It is enabled by defaults.vim
2020-02-10 11:35:52 +00:00
igrekster
5ee0a93675
Add argtextobj.vim plugin emulation
2020-02-09 11:57:54 +11:00
Alex Plate
767b3c4a39
Add some scheduled for removal annotations
2020-02-08 20:57:44 +03:00
Alex Plate
bb948a463c
Add option to make status bar icon gray
2020-02-08 20:56:13 +03:00
Alex Plate
e4e9a03d0a
Add information about why EPs are used to register actions and ex handlers.
2020-02-08 18:14:04 +03:00
Alex Plate
50ba386f59
Write tests for dynamic extensions
2020-02-08 18:07:20 +03:00
Alex Plate
bcc9b0a7b1
Remove plugin owner after extension removal
2020-02-08 15:38:54 +03:00
Alex Plate
2c8f4940b9
Support EasyMotion extension
2020-02-08 15:25:24 +03:00
Alex Plate
41876cf8fd
Make vimExtension dynamic
2020-02-08 14:56:39 +03:00
Alex Plate
f6fd0b52f0
Rename RequiredShortcutOwner to MappingOwner
2020-02-08 14:36:35 +03:00
Alex Plate
843faa7cc6
Make plugins disposable
2020-02-08 14:36:01 +03:00
Alexey Gerasimov
a8af2c3242
Fix Set creation
2020-02-07 22:24:46 +05:00
Alexey Gerasimov
e5bfad974e
Copyright and comment
2020-02-07 21:50:06 +05:00
Alexey Gerasimov
50c2d04503
Migrate to new checkInString
2020-02-07 19:48:40 +05:00
Alexey Gerasimov
480de62686
Improve existing checkInString
2020-02-07 19:48:40 +05:00
Alexey Gerasimov
955b501058
Make Direction enum public
2020-02-07 19:48:40 +05:00
Alexey Gerasimov
d985527624
Rewrite checkInString in Kotlin
2020-02-07 19:48:40 +05:00
Alexey Gerasimov
afbe7f0e69
Add findPositionOfFirstCharacter function
2020-02-07 19:48:40 +05:00
Alexey Gerasimov
94e65ddce6
Use isQuoteWithoutEscape when findCharacterPosition to detect escaped char
2020-02-07 19:48:40 +05:00
Alexey Gerasimov
cb9f144255
isQuoteWithoutEscape small improvement
2020-02-07 19:48:40 +05:00
Alexey Gerasimov
ac84624faa
Use Direction enum instead of int
2020-02-07 19:48:40 +05:00
Alexey Gerasimov
30097fbae6
Assume that caret is in string/char only if there is closing char
2020-02-07 19:48:40 +05:00
Alex Plate
c295dd5c62
Use special class for storing requiredShortcuts
2020-02-07 16:07:14 +03:00
Alex Plate
373fef2824
Refactor MappingInfo
2020-02-07 12:42:36 +03:00
Alex Plate
cfc255bf2b
Rename .java to .kt
2020-02-07 12:41:57 +03:00
Alex Plate
ea7e58535b
Fix tests
2020-02-07 12:41:47 +03:00
Alex Plate
0b67dd1d05
Merge pull request #218 from citizenmatt/feature/registers
...
Macros record input keystrokes, not mapped keystrokes
This PR fixes VIM-1835 by recording input keystrokes for macros instead of the mapped keystrokes.
This PR is also required as a stepping stone for showcmd support (VIM-434), as both issues require refactoring KeyHandler#handleKey, and I thought it best to separate the issues.
A few other things were fixed as part of this PR:
VIM-1899 - support an argument to the :registers command
VIM-1900 - improve output of :registers, :marks, :jumps and :ascii
2020-02-04 18:46:15 +03:00
Alex Plate
1519faef81
Fix compatibility with the IdeaVim-EasyMotion
2020-02-04 11:13:38 +03:00
Matt Ellis
9fad4a74ed
Remove keys from Command
...
Also refactors PutVisualTextAction
2020-02-04 00:36:59 +00:00
Matt Ellis
3eb46114f8
Remove Shortcut class
2020-02-03 23:35:04 +00:00
Matt Ellis
6a5fd30531
Remove unnecessary empty shortcut registration
2020-02-03 23:31:18 +00:00
Matt Ellis
96e83150e5
Ensure :jumps formats non-printable characters correctly
...
Also ensures long output lines are truncated
2020-02-03 22:50:39 +00:00
Matt Ellis
b2b65c65b9
Ensure :ascii formats non-printable characters correctly
2020-02-03 22:50:38 +00:00
Matt Ellis
5b028b4fa3
Ensure :marks formats non-printable characters correctly
...
Also adds a bunch of tests, and fixes offset for ^ and ] registers
2020-02-03 22:50:38 +00:00
Matt Ellis
8f4e1b3409
[VIM-1900] Ensure :reg formats non-printable characters correctly
2020-02-03 22:50:38 +00:00
John Weigel
ff209d0120
Merge remote-tracking branch 'origin/master'
2020-02-01 22:38:18 -06:00
John Weigel
ea2fe618b5
Add support for buffer list (buffers, files, ls).
2020-02-01 22:33:12 -06:00
Matt Ellis
3403cdf84b
[VIM-1835] Macros record actual keystrokes not mapped
2020-02-01 11:36:40 +00:00
Alex Plate
4f9a6f3a7b
Make vimExCommand EP dynamic
2020-01-31 19:14:11 +03:00
Alex Plate
c8d6d233e5
Revert [Make vimExCommand EP dynamic]
2020-01-31 18:15:55 +03:00
Alex Plate
0cfb65a19a
Make vimExCommand EP dynamic
2020-01-31 17:59:07 +03:00
Alex Plate
384d917021
Make vimAction EP dynamic
2020-01-31 12:05:46 +03:00
Alex Plate
f1c8c67789
Use enumMap to store key roots
2020-01-31 10:17:56 +03:00
Alex Plate
75e8f4ec6d
Deny vimAction extension point contributions from other plugins
2020-01-30 21:23:23 +03:00
Matt Ellis
d1d0323112
[VIM-1899] Add argument to :registers command
...
Also introduce testable clipboard handling
2020-01-27 10:47:37 +00:00
Alex Plate
ab31dae582
Add todo for VimLocalConfig
2020-01-27 12:25:45 +03:00
Alex Plate
64f176cedb
Control dynamic loading of plugin via the application component
2020-01-27 11:45:26 +03:00
Alex Plate
0d190e4a63
Update copyright
2020-01-27 11:35:00 +03:00
Alex Plate
13cdb7cc35
Merge pull request #215 from citizenmatt/refactor/command-state
...
Refactor key handler state
2020-01-27 11:34:48 +03:00
Alex Plate
80074177fc
Make ascii doc a bit clearer
2020-01-27 11:11:05 +03:00
Alex Plate
b2267c4b6c
Add information about non-released actions
2020-01-24 13:41:47 +03:00
Alex Plate
1b7c3f0da3
Merge pull request #214 from sumoooru2/master
...
Implement c_CTRL-N/P
2020-01-22 10:56:37 +03:00
Alex Plate
50c04ce71c
Change LookupKeys implementation
2020-01-20 15:29:40 +03:00
Alex Plate
bc6ff6bc8e
Convert characterHelper to kt
2020-01-19 17:55:15 +03:00
Alex Plate
93bcf2a7e8
Rename .java to .kt
2020-01-19 17:55:14 +03:00
Alex Plate
c3b503adff
Set up a mechanism to define the KeyStrokes that should work with active lookup
2020-01-19 17:34:12 +03:00
Alex Plate
ecdcbdda10
Put all range files into the ranges directory
2020-01-16 15:13:56 +03:00
Alex Plate
b97c9a5ed0
Rename .java to .kt
2020-01-16 15:13:55 +03:00
Alex Plate
84a6843a7b
Convert ExOutputModel to kt
2020-01-16 12:26:39 +03:00
Alex Plate
17eed7467c
Rename .java to .kt
2020-01-16 12:26:39 +03:00
Alex Plate
310ffc849c
Convert ExCommand to kt
2020-01-16 12:23:43 +03:00
Alex Plate
3e6756160a
Rename .java to .kt
2020-01-16 12:23:43 +03:00
Alex Plate
563e809a2d
Put all exceptions to single kt file
2020-01-16 12:18:20 +03:00
Alex Plate
86ec3f3bcd
Rename .java to .kt
2020-01-16 12:17:54 +03:00
Matt Ellis
7b225cb824
Remove CHAR_OR_DIGRAPH state
2020-01-07 20:14:56 +00:00
Matt Ellis
562e0b06df
Refactor expected argument type
2020-01-07 19:54:20 +00:00
Matt Ellis
51ce064507
Simplify and document handling of EX_STRING
2020-01-07 19:09:58 +00:00
Matt Ellis
ebaeff9b4d
Merge branch 'master' into refactor/command-state
2019-12-30 16:31:24 +00:00
Matt Ellis
8889e799ca
Refactor setting command argument
2019-12-30 16:26:32 +00:00
Matt Ellis
668705e475
Refactor handling of duplicate operator chars
2019-12-30 16:08:04 +00:00
Matt Ellis
e428e909bf
Simplify handling of count editing characters
2019-12-30 16:08:00 +00:00
Matt Ellis
d755c751c2
Move fix up of command/motion count
2019-12-30 15:36:52 +00:00
Matt Ellis
312c547412
Rearrange methods
2019-12-30 15:30:33 +00:00
Matt Ellis
48d30f2a3c
Extract CommandBuilder
2019-12-30 15:28:15 +00:00
Matt Ellis
d8ed30df14
Encapsulate command node state
2019-12-27 18:09:50 +00:00
Matt Ellis
50176cb267
Move mapping mode to mapping state
2019-12-27 16:19:57 +00:00
Matt Ellis
5898d21857
Remove unnecessary annotations
2019-12-27 12:44:13 +00:00
Matt Ellis
e3839bc0b2
Remove unused command flags override
2019-12-27 12:42:00 +00:00
Matt Ellis
f97555d4a8
Rename executing command
2019-12-27 12:34:13 +00:00
Matt Ellis
79bdca9769
Move command stack to per-editor state
2019-12-27 12:26:10 +00:00
sumoooru2
138c2956ac
Implement c_CTRL-N/P
2019-12-27 19:37:01 +09:00
Matt Ellis
ced457dd94
Move command state to per editor state
2019-12-27 10:33:22 +00:00
Matt Ellis
784fc6c6fa
Rename mode state class and make immutable
2019-12-27 10:10:39 +00:00
Alex Plate
b4e0ec282f
Convert vim surround plugin to kt
2019-12-26 16:45:42 +03:00
Alex Plate
cbf7dfabcb
Rename .java to .kt
2019-12-26 16:45:42 +03:00
Alex Plate
69a273982f
Fix 183 capability
2019-12-24 10:34:57 +03:00
Matt Ellis
f817e6cb7f
Extract mapping state
2019-12-23 16:49:27 +00:00
Alex Plate
eef1b25e9f
Convert common package to kt
2019-12-23 17:20:15 +03:00
Alex Plate
622de851fe
Rename .java to .kt
2019-12-23 17:20:15 +03:00
Alex Plate
8cecb61d28
Convert selection type to kt
2019-12-23 16:21:39 +03:00
Alex Plate
77d8d27dfa
Rename .java to .kt
2019-12-23 16:21:39 +03:00
Alex Plate
340f259b17
[VIM-1884] Add CTRL-J to the list of keys working with lookup
2019-12-23 15:54:52 +03:00
Alex Plate
5cf68a7f06
[VIM-1878] Update submode in case of active template
2019-12-23 12:54:57 +03:00
Matt Ellis
6a622565ca
Move mapping availability check
2019-12-19 17:00:38 +00:00
Alex Plate
0ae5abcd0c
[VIM-1874] Add possibility to execute option listener after adding
2019-12-19 18:54:51 +03:00
Alex Plate
b6cecb2125
Refactor options change listener
2019-12-19 18:54:50 +03:00
Alex Plate
3aa3a9c9a8
Get rid of unused name sorter
2019-12-19 18:13:51 +03:00
Alex Plate
2c11ed43e4
[VIM-1875] Fix isk loading on startup
2019-12-19 17:12:29 +03:00
Matt Ellis
23126aeb6d
Extract abandoned mapping sequence handling
2019-12-19 11:49:53 +00:00
Matt Ellis
61fd67472b
Extract completed mapping sequence handling
2019-12-19 11:39:34 +00:00
Matt Ellis
105c073e1f
Extract unfinished mapping sequence handling
2019-12-19 01:11:24 +00:00
Rafał Hajdacki
b695e3c646
Fix usage of invalid path separator
2019-12-18 14:09:40 +01:00
Matt Ellis
200f3484b6
Move current arg type state to per-editor
2019-12-10 20:20:13 +00:00
Matt Ellis
6a40eb48fe
Remove forward search state
2019-12-10 20:14:32 +00:00
Matt Ellis
fb3e9ce9f3
Move captured keys to per-editor state
2019-12-10 20:11:08 +00:00
Matt Ellis
91865460a2
Move DigraphResult to top level class
2019-12-10 20:05:12 +00:00
Matt Ellis
644afe541e
Move <BS> digraph state to DigraphSequence
2019-12-10 20:01:42 +00:00
Matt Ellis
232303f06a
Refactor to maintain digraph state at all times
...
Also allows <C-K> and <C-V>/<C-Q> to be remapped
2019-12-10 19:59:11 +00:00
Matt Ellis
280845610b
Move digraph sequence state to per-editor
2019-12-10 19:32:25 +00:00
Matt Ellis
6108c9d6d2
[VIM-1284] Allow mapping numbers
...
Includes special case for 0 while entering counts. See :help :map-modes.
Also fixes issues when both operator and motion have a count - value should be multiplied, not appended (e.g. 3d2w is the same as 6dw, no 32dw!). See :help operator
2019-12-10 19:31:38 +00:00
Matt Ellis
ce04e995ee
Move command count state per editor
2019-12-10 19:31:23 +00:00
Alex Plate
917b77c8ad
Remove unused ifs
2019-12-10 10:18:54 +03:00
Alex Plate
a2cd8ec19c
Add left/right to the list of keys working with lookup
2019-12-10 10:12:51 +03:00
Alex Plate
6300d39065
Another approach to handle with warnings
2019-12-06 18:52:15 +03:00
Alex Plate
2457079724
Fix some code smells
2019-12-06 18:31:06 +03:00
Alex Plate
ba84e723e8
Remove unused option type
2019-12-06 18:23:27 +03:00
Alex Plate
bf75e75d6f
ListOption can't return null anymore
2019-12-06 18:17:42 +03:00
Alex Plate
c3183a8bd7
Replace string buffer with string builder
2019-12-06 18:14:59 +03:00
Alex Plate
7c162fc7ed
Fix some possible exceptions
2019-12-06 18:14:35 +03:00
Alex Plate
529c5ac8d7
Fix isPuncf method
2019-12-06 18:11:42 +03:00
Alex Plate
60e619e45e
ExPanel doesn't return null
2019-12-06 17:55:59 +03:00
Alex Plate
a89bdcdd3b
Fix exception with d:
2019-12-06 16:36:28 +03:00
Alex Plate
0b517671cb
Make some argument collections immutable
2019-12-05 17:27:14 +03:00
Alex Plate
a15dc3ed60
Suppress some inspections
2019-12-05 12:58:32 +03:00
Alex Plate
b7d60f4cb5
Fix tests
2019-12-04 16:19:16 +03:00
Alex Plate
82a331a940
VIM-1362 Search with confirm scroll down far enough
2019-12-04 16:05:11 +03:00
Alex Plate
c31e688f11
Suppress deprecation
2019-12-04 15:49:47 +03:00
Alex Plate
0c887027d3
Suppress some deprecations
2019-12-04 12:44:18 +03:00
Alex Plate
7c7df85d1a
Perform partial reset after autocomplete
2019-12-03 13:22:09 +03:00
Alex Plate
a7c025d927
Add Enter to the list of keys that are not processed with active lookup
2019-12-03 12:50:33 +03:00
Alex Plate
dc713c477b
Disable down/up keys for lookup
2019-12-02 15:57:08 +03:00
Alex Plate
7e71edaee2
Suppress wrong error
2019-12-02 15:49:20 +03:00
Alex Plate
3f8925cbb0
VIM-1853 Fix marks for disposable projects
2019-12-02 15:47:02 +03:00
Alex Plate
5f9e24b314
VIM-1855 Fix initialization error
2019-12-02 10:56:08 +03:00
Alex Plate
dcd799ad85
Comment deprecated method
2019-12-02 10:48:30 +03:00
Alex Plate
ff0d7a4345
Update initialization logic
2019-12-02 10:47:33 +03:00
Alex Plate
d68bad313e
VIM-1854 Fix i_Ctrl-T
...
Refactor shift left/right classes as well
2019-11-29 12:33:08 +03:00
Alex Plate
bd09917396
Remove async startup and different small optimizations
2019-11-29 11:46:34 +03:00
Alex Plate
17a87f80e3
All keys are allowed during the lookup except TAB
2019-11-28 19:38:46 +03:00
Alex Plate
59f4dc8c78
Surround and Commentary extensions can be repeated with a dot command
...
VIM-1118
2019-11-28 18:58:58 +03:00
Alex Plate
572a96328a
CTRL-A accepts all sizes of number
...
VIM-1424
2019-11-28 18:08:02 +03:00
Alex Plate
a7ac3bec7f
Reset keyHandler state before the command execution
2019-11-28 15:56:06 +03:00
Alex Plate
3e78f50a76
Create commandState
helper function
2019-11-28 14:42:57 +03:00
Alex Plate
a4843e57cb
Remove REPEAT mode
...
Replace it with `isDotRepeatInProgress()` method
2019-11-28 13:31:57 +03:00
Alex Plate
d6d90dda58
Rename FLAG_NO_REPEAT to FLAG_NO_REPEAT_INSERT
2019-11-28 13:02:49 +03:00
Alex Plate
c92c5e234c
Convert some classes to kt
2019-11-28 12:13:29 +03:00
Alex Plate
987f06d518
Rename .java to .kt
2019-11-28 12:13:29 +03:00
Alex Plate
eaf7476785
Refactor repeat action
2019-11-28 12:13:29 +03:00
Alex Plate
5c559f921d
[VIM-1847] Add option to remove the status bar icon
2019-11-27 11:00:42 +03:00
Alex Plate
77f6b3fcb8
Show the plugin version for internal mode
2019-11-26 15:55:33 +03:00
Alex Plate
f56ed7fd50
Update status bar popup location
2019-11-26 13:22:20 +03:00
Alex Plate
a470b579a9
Fix exception
2019-11-26 11:55:54 +03:00
Alex Plate
a2eb7d44c0
Fix turn off and on plugin
2019-11-26 11:29:32 +03:00
Alex Plate
dfc83a7aea
Update ktdocs
2019-11-25 19:38:04 +03:00
Alex Plate
71686e45e3
[EA-211536] Fix exception by aliasing
2019-11-25 19:31:17 +03:00
Alex Plate
d836320b31
[VIM-1845] Show action group popups
2019-11-25 18:50:00 +03:00
Alex Plate
19e7c058c3
Convert VimShortcutKeyAction to kt
2019-11-25 14:16:58 +03:00