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
eb01b25f35
Fix some cases by disabling [, { and < support (what is not supported in the original plugin)
2020-02-14 12:23:32 +03: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
50ba386f59
Write tests for dynamic extensions
2020-02-08 18:07:20 +03:00
Alex Plate
79d0565c2d
Update some tests
2020-02-08 16:09:39 +03:00
Alex Plate
843faa7cc6
Make plugins disposable
2020-02-08 14:36:01 +03:00
Alexey Gerasimov
59d87e0c94
More tests
2020-02-07 19:48:40 +05:00
Alexey Gerasimov
c2196785e7
Add tests
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
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
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
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
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
Matt Ellis
ebaeff9b4d
Merge branch 'master' into refactor/command-state
2019-12-30 16:31:24 +00:00
Matt Ellis
50176cb267
Move mapping mode to mapping state
2019-12-27 16:19:57 +00:00
Matt Ellis
784fc6c6fa
Rename mode state class and make immutable
2019-12-27 10:10:39 +00:00
Alex Plate
30662a8110
Comment out incompatible test
2019-12-24 10:48:55 +03:00
Alex Plate
5cf68a7f06
[VIM-1878] Update submode in case of active template
2019-12-23 12:54:57 +03:00
Alex Plate
2c11ed43e4
[VIM-1875] Fix isk loading on startup
2019-12-19 17:12:29 +03: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
Alex Plate
2457079724
Fix some code smells
2019-12-06 18:31:06 +03:00
Alex Plate
09fbdf5541
Make test extension private
2019-12-06 15:11:09 +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
59f4dc8c78
Surround and Commentary extensions can be repeated with a dot command
...
VIM-1118
2019-11-28 18:58:58 +03:00
Alex Plate
6434a06c08
Convert commentary extension test to kt
2019-11-28 18:23:44 +03:00
Alex Plate
6133ab509d
Rename .java to .kt
2019-11-28 18:23:43 +03:00
Alex Plate
3e78f50a76
Create commandState
helper function
2019-11-28 14:42:57 +03:00
Alex Plate
eba9eaf37a
Faster command parser
2019-11-20 17:59:04 +03:00
Alex Plate
05ecb92a88
Use plugin.xml to define mappings for actions
2019-11-20 17:36:10 +03:00
Alex Plate
d05cc3cd35
Merge pull request #210 from igrekster/format-motion
...
Implement `gq<motion>` code formatting command for motions
2019-11-20 15:51:39 +03:00
Alex Plate
96dff832ba
Merge pull request #209 from igrekster/multicaret-ignorecase-fix
...
Fix multiple cursors selection getting stuck with ignorecase
2019-11-20 15:47:23 +03:00