Matt Ellis
f7bb5ec500
Scroll view with Enter in insert mode
2021-03-17 12:17:51 +00:00
Matt Ellis
b92114fec6
Scroll view when inserting new line above
2021-03-17 12:17:51 +00:00
Matt Ellis
fe9bb2a712
Scroll view when inserting new line below
2021-03-17 12:17:51 +00:00
Matt Ellis
81996f8051
Do not beep when removing highlights with Escape
2021-03-17 12:17:51 +00:00
Matt Ellis
a0a976c345
Scroll view for <Del> and <BS> in insert mode
2021-03-17 12:17:51 +00:00
Matt Ellis
9315f36f16
Scroll view for <Tab> in insert mode
...
Note that this doesn't actually work, as we ignore <Tab> in insert mode, so that other actions, specifically the live template action, can handle it. Without this, Emmet doesn't work (VIM-674). The scrolling does work with <C-I>
2021-03-17 12:17:51 +00:00
Matt Ellis
cdc03836d2
Scroll view when moving up/down in insert mode
2021-03-17 12:17:50 +00:00
Matt Ellis
a14e95ad6c
Scroll view when deleting text
2021-03-17 12:17:50 +00:00
Matt Ellis
dd230f720f
[VIM-2230] Caret and inlay with preceding text
2021-03-17 12:17:50 +00:00
Matt Ellis
fa781de76f
Simplify inserting register text
2021-03-17 12:17:50 +00:00
Matt Ellis
377e085aa0
Merge branch 'master' into refactor-searchgroup
2021-03-10 11:45:55 +00:00
Matt Ellis
3642b32ed6
Fix range handling
2021-03-10 10:30:33 +00:00
Alex Plate
8a6ecf005b
Test using neovim with assertOffset
2021-03-10 11:47:45 +03:00
Alex Plate
6866fdbdf5
Update search group tests
2021-03-05 11:25:38 +03:00
Alex Plate
78bc4060b3
Update after rebase
2021-03-05 10:38:39 +03:00
Matt Ellis
16b901ea9e
Update formatting
2021-03-05 10:38:39 +03:00
Matt Ellis
26a3974477
Stop multiple-cursors affecting search state
...
Searching no longer uses the high level search APIs that affect state such as saved searches, history and highlighting. Also conforms better to vim-multiple-cursors behaviour:
* Searches are now case sensitive
* Regular expressions in search text are ignored
* "Select all" works with nowrapscan
* Next occurrence based on existing selection no longer uses word boundary flag
* "No more matches" message shown at more appropriate times
2021-03-05 10:38:39 +03:00
Matt Ellis
9a10d6fe6c
Remove usage of deprecated API
2021-03-05 10:38:38 +03:00
Matt Ellis
eb72def6d0
Remove unnecessary caret move
2021-03-05 10:38:38 +03:00
Matt Ellis
3fe2a2e3b0
Fix updating last search/sub patterns
2021-03-05 10:38:38 +03:00
Matt Ellis
d22d0f67b5
Remove duplication in invalid command message
2021-03-05 10:38:38 +03:00
Matt Ellis
e56e944309
Simplify writing state
2021-03-05 10:38:38 +03:00
Matt Ellis
2d853d8d28
Rename searchAndReplace processSubstituteCommand
2021-03-05 10:38:38 +03:00
Matt Ellis
e5d086dace
Introduce test method to set state
2021-03-05 10:38:38 +03:00
Matt Ellis
eccdd725b7
Introduce processSearchRange
2021-03-05 10:38:37 +03:00
Matt Ellis
284e0b4bf5
Rename search to processSearchCommand
...
The method is doing more than just searching, such as parsing the search command and state management
2021-03-05 10:38:37 +03:00
Matt Ellis
47becb2721
Remove unused count for main search method
...
This method is the main implementation for '/' and '?' and does not support a count. It is currently being used incorrectly in places that should be using a simpler find helper.
2021-03-05 10:38:37 +03:00
Matt Ellis
0b64e26235
Replace search command flags with Direction enum
2021-03-05 10:38:37 +03:00
Matt Ellis
d90db8157c
Remove overload that assumes primary caret offset
2021-03-05 10:38:37 +03:00
Matt Ellis
11da530151
Remove overload that takes a caret
2021-03-05 10:38:37 +03:00
Matt Ellis
c067c67e34
Remove unused code to move caret
2021-03-05 10:38:37 +03:00
Matt Ellis
89913ad4d7
Remove unused search handling from ProcessExEntry
2021-03-05 10:38:36 +03:00
Alex Plate
b73f34ad8c
Useless change
2021-03-05 10:38:22 +03:00
Alex Plate
17cf68d8a5
Support testing without neovim for a lot of tests
2021-03-03 11:17:08 +03:00
Alex Plate
5c1795ee03
Add startofline option to the list of supported commands
2021-03-03 11:02:47 +03:00
Alex Plate
19a8480a88
Update changes
2021-03-03 11:01:04 +03:00
Matt Ellis
e0e80d2ea8
Update after running ktlintFormatter
2021-03-03 10:56:50 +03:00
Matt Ellis
adab2326ed
Add 'startofline' to count percent motion
2021-03-03 10:56:50 +03:00
Matt Ellis
4ef629950d
Add 'startofline' support for shift operations
2021-03-03 10:56:50 +03:00
Matt Ellis
39197df0c7
Add 'startofline' support for scrolling actions
2021-03-03 10:56:50 +03:00
Matt Ellis
1d3d6f0ea1
Add 'startofline' support to G, gg and i_<C-Home>
2021-03-03 10:56:50 +03:00
Matt Ellis
9272ffa52c
Add 'startofline' support to goto line action
2021-03-03 10:56:50 +03:00
Matt Ellis
187e5864ac
Add tests and introduce 'startofline' option
...
Update behaviour of H, L and M to handle 'scrolloff' correctly, operator pending mode and 'startofline' caret placement. Also implemented 'startofline' support for delete motion action.
2021-03-03 10:56:50 +03:00
Matt Ellis
e0711248a0
[VIM-2238] Correctly place cursor at mid line of short files
2021-03-03 10:56:50 +03:00
Alex Plate
bbbcf0502e
Annotation some functions as not-neovim tested
2021-03-02 12:10:14 +03:00
Alex Plate
0498fac291
[TC] Add git label after stable release
2021-03-02 10:05:55 +03:00
Alex Plate
fa007148da
[TC] Make slack notification only on stable releases
2021-03-02 10:05:55 +03:00
Alex Plate
7e69e5704a
Rename task from eapNotification to notification
2021-03-02 10:05:55 +03:00
aleksei.plate
8579229797
TeamCity change in 'IntelliJ IDEA plugins / IdeaVim' project: build features of 'Qodana checks' build configuration were updated
2021-03-02 06:59:48 +00:00
aleksei.plate
59d8f4c1cf
TeamCity change in 'IntelliJ IDEA plugins / IdeaVim' project: runners of 'Qodana checks' build configuration were updated
2021-03-02 06:59:34 +00:00