Alex Plate
4e26f62391
Cleanup property based test
2020-07-02 13:58:29 +03:00
Alex Plate
ddb502acb3
Fix exception for d]] command
2020-07-02 13:48:36 +03:00
Alex Plate
89cb6867d4
Tests for exiting insert mode
2020-07-02 13:27:27 +03:00
Alex Plate
f7892b33c8
Add method doTest that accepts string instead of list of KeyStrokes
2020-07-02 12:17:22 +03:00
Alex Plate
e04e0e69f3
Enable strict mode for tests
2020-07-02 12:15:57 +03:00
Alex Plate
baa7d4f098
Fix big word motion for last word
2020-07-01 20:49:34 +03:00
Alex Plate
baa5557010
Fix bug in dollar motion at the end
2020-07-01 20:47:16 +03:00
Alex Plate
5ce25ebc23
Fix deleting from the start of document
2020-07-01 20:47:14 +03:00
Alex Plate
1f4d5b0140
Really ignore property based test
2020-07-01 19:01:51 +03:00
Alex Plate
ddd1a0a5f0
Reset digraph during propertyBased tests
2020-07-01 19:01:08 +03:00
Alex Plate
e15fd8fa24
Add initial implementation of property based tests
2020-07-01 15:46:52 +03:00
Alex Plate
034cc3a725
Fix sentence motion with two new lines at start
2020-07-01 15:43:24 +03:00
Alex Plate
f34dcc0386
Add test for block selection on empty file
2020-07-01 15:02:39 +03:00
Alex Plate
a7b278553f
Make typeText accessible from non vim test cases
2020-07-01 14:11:14 +03:00
Alex Plate
bd52eb12bd
Fix star search on the last dot
2020-06-30 23:08:09 +03:00
Alex Plate
2d9a0a7559
Fix case yk
for first line
2020-06-30 22:47:19 +03:00
Alex Plate
c7948374fd
Cleanup
2020-06-29 13:30:23 +03:00
Alex Plate
f8afdf304b
Use @TestFor instead of custom annotation
2020-06-29 12:21:06 +03:00
Alex Plate
0e7b05e360
Continue cleanup
2020-06-29 10:57:53 +03:00
Alex Plate
a6ef654c05
Add tests for exchange plugin with unnamed register in clipboard
2020-06-26 10:43:42 +03:00
Alex Plate
e428b9fa0a
IdeaVim should save to unnamed register, not default one
2020-06-26 10:34:06 +03:00
Alex Plate
e0646541e8
Revert incompatible changes
2020-06-24 18:57:25 +03:00
Alex Plate
2d1fee0516
Add [version update] marks
2020-06-24 18:17:42 +03:00
Alex Plate
149899c34e
Fix fold tests
2020-06-24 18:05:54 +03:00
Alex Plate
c6573b48c2
Convert test to kt
2020-06-24 18:01:34 +03:00
Alex Plate
476ba265d2
Rename .java to .kt
2020-06-24 17:59:42 +03:00
Alex Plate
d6658a1771
Update test
2020-06-23 11:09:25 +03:00
Rieon Ke
e57d6f3d97
fix test failure after changing to key notations from printable chars
2020-06-22 22:56:47 +08:00
Alex Plate
c350650f9c
Commands work on the last line
2020-06-09 03:41:38 +03:00
Alex Plate
8c3cbc49b3
Add tests for G command
2020-06-09 03:15:16 +03:00
Alex Plate
786b7193d0
getLineCount does now respect last new line character
2020-06-09 03:04:48 +03:00
Alex Plate
2a6acba07f
S is now a synonym of cc and doesn't have a separate logic
2020-06-09 03:01:45 +03:00
Alex Plate
f4d595f5c2
[WIP] Removing usages of deprecated getFileSize for SearchHelper
2020-06-07 19:42:01 +03:00
Alex Plate
c1e5b7d111
Remove deprecated usage in different files
2020-06-07 19:35:25 +03:00
Alex Plate
6b0d2157c8
[WIP] Removing usages of deprecated getFileSize for go
command
2020-06-07 19:06:04 +03:00
Alex Plate
5a629d6256
[WIP] Removing usages of deprecated getFileSize in getting file info
2020-06-07 18:37:15 +03:00
Alex Plate
8c83ed6b55
Remove usage of deprecated getFileSize
2020-06-06 18:24:24 +03:00
Alex Plate
c64ec34a1f
Fix let mapleader="\<SPACE>"
2020-06-03 11:42:39 +03:00
Alex Plate
8e8e52c6f9
Create configuration migrators for IdeaVim
2020-06-03 11:05:48 +03:00
Alex Plate
a975b53894
Fix bug in test
2020-05-22 10:27:53 +03:00
Alex Plate
98aee5d0ab
Fixes and more tests for vim exchange
2020-05-22 09:59:53 +03:00
Alex Plate
c6c3b6643e
Add linewise visual test for vim exchange plugin
2020-05-20 23:44:45 +03:00
Alex Plate
028423cf58
Make exchange extension repeatable
2020-05-14 10:37:37 +03:00
Adrià Farrés
660b243056
Reset operator-pending commands on escape
...
Suppose we have the text "|Hello, world", with | being the position of
the cursor. Pressing `d<Esc>dw` simply moves the cursor on top of the
comma instead of leaving the text as ", world".
This fixes issue VIM-1421.
2020-05-13 05:03:49 +02:00
Alex Plate
c85f41e65b
Fix tests
2020-05-12 10:43:04 +03:00
Alex Pláte
89c2a8ec9b
Merge pull request #229 from fan-tom/VIM-921_exchange
...
VIM-921 vim-exchange plugin emulation
2020-05-12 10:08:53 +03:00
Alexey Gerasimov
aa2c1257ac
Use ${c} instead of <caret>
2020-05-10 17:55:55 +05:00
Alex Plate
de5ce5f635
Update ideavimrc reload implementation
2020-05-09 22:56:10 +03:00
Alex Plate
c6cf77e4b8
Remove some deprecations
2020-05-06 09:53:04 +03:00
Alex Plate
366c862bcf
Add loading/unloading to manual tests
2020-05-06 09:38:11 +03:00
Alex Pláte
01b4dc233a
Merge pull request #227 from angelbot/buffer_command
...
Add support for buffer command
2020-05-06 08:46:41 +03:00
Alex Pláte
61677aa811
Merge pull request #233
...
Fix #VIM-1994
2020-05-06 08:13:40 +03:00
Alex Plate
e31d5a4dcf
Initial cleanup after IJ requirements update
2020-04-30 11:43:24 +03:00
Alex Plate
64c01c1bd1
Cleanup timer for java tests
2020-04-30 10:23:14 +03:00
Alex Plate
4b659fe643
Prepare for 0.57 release
2020-04-28 11:18:56 +03:00
Alex Plate
8cce059fb4
Write tests for yanking and pasting with number register
2020-04-17 10:48:09 +03:00
Alex Plate
613c234cfb
Fix related tests
2020-04-16 11:31:22 +03:00
Alex Plate
83dca71f69
[VIM-1992] Fix shift-letter mappings
2020-04-16 11:20:26 +03:00
Alex Plate
f7ea9cdb6e
Convert mapping tests to kotlin
2020-04-16 11:03:40 +03:00
Alex Plate
762cb1804f
Rename .java to .kt
2020-04-16 11:02:38 +03:00
Valery Isaev
9bc2ec7d8a
Fix #VIM-1994
2020-04-13 15:02:49 +03:00
Alex Plate
8415d104e9
Clear registers before test
2020-04-10 11:03:14 +03:00
Alex Plate
4c280b0193
Run manual tests
2020-04-09 10:51:32 +03:00
Alex Plate
e88a3deafd
Fix replace with clipboard register
2020-04-09 10:25:42 +03:00
Alex Plate
bd172b3300
Run manual tests
2020-04-07 11:35:58 +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
c9bda98a6a
Add VimExchange extension tests
2020-03-21 20:04:30 +05:00
Alexey Gerasimov
5762ec0518
Add marks last changed end position test
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 Plate
f106ffa176
Support ReplaceWithRegister plugin emulation
2020-03-19 11:25:30 +03:00
Alex Plate
2d434c38b9
Move test to correct directory
2020-03-15 16:53:57 +03:00
Alex Plate
174d17b088
VIM-1958 Fix X command for linewise selection
2020-03-14 18:00:45 +03:00
Alex Plate
3a35c931e4
Unignore some tests
2020-03-14 17:42:33 +03:00
Alex Plate
123ce6ebaf
Get rid of deprecated KeyEvents
2020-03-14 15:55:01 +03:00
Alex Plate
276c8db512
Fix some tests
2020-03-12 11:48:24 +03:00
Alex Pláte
b7af1e6289
Merge branch 'master' into feature/showcmd
2020-03-10 10:24:06 +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
cb00b8b335
Merge remote-tracking branch 'upstream/master' into buffer_command
2020-03-03 23:10:00 -06: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
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
158cea51db
Add override test
2020-02-23 22:02:06 -06: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
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
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
Alex Plate
a4be636f9d
Run manual tests
2019-11-20 11:47:38 +03:00
Alex Plate
8e12c9bef0
Fix backward motion for ex commands
2019-11-19 14:31:30 +03:00
Alex Plate
7d9d8d4a02
Fix execution of actions in visual mode with incsearch enabled
2019-11-07 11:14:16 +03:00
Alex Plate
617c0e3813
Add missing gif
2019-11-05 15:54:51 +03:00
Alex Plate
76634e3eed
Fix "wrap with if"
2019-11-05 15:53:33 +03:00
igrekster
21536fb3ef
Implement gq<motion>
code formatting command for motions
2019-11-02 17:17:09 +11:00
Alex Plate
9d6f43cfeb
Fix problem with lookup selection
2019-11-01 13:55:32 +03:00