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
59d87e0c94
More tests
2020-02-07 19:48:40 +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
c2196785e7
Add tests
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
ea342a8e4f
Preparation for 0.55.1 EAP release
2020-02-04 18:55:31 +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
24f023c8b3
Update changes
2020-02-03 23:35:53 +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
9e921d6621
Move plugin.xml includes into separate folder
2020-01-27 11:40:42 +03:00
Alex Plate
a4b98f2848
Update CHANGES.md
2020-01-27 11:36:30 +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
ca60c467f3
Capability for tests in 2020.1
2020-01-27 11:11:05 +03:00
Alex Plate
01abba7d2c
Use 201-EAP version for build
2020-01-27 11:11:05 +03:00
Alex Plate
80074177fc
Make ascii doc a bit clearer
2020-01-27 11:11:05 +03:00
Alex Plate
bf67f8984a
Add info about easymotion plugin
2020-01-25 16:32:43 +03:00