1
0
mirror of https://github.com/chylex/IntelliJ-IdeaVim.git synced 2024-10-19 13:42:45 +02:00
Commit Graph

656 Commits

Author SHA1 Message Date
Alex Plate
7cdb7dc308
Fix some tests for older versions of IDE 2020-03-04 10:32:05 +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
a8197b0c84
Convert runnableHelper to kt 2020-02-28 18:15:40 +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
John Weigel
c87528939b Fix buffer numbering bug with filters.
Update test to cover fix.
2020-02-23 21:11:36 -06:00
Alexandre Grison
36f6027b0e Implement the vim-textobj-entire plugin emulation. 2020-02-20 12:13:55 +01: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
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
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