Commit Graph
5146 Commits
Author SHA1 Message Date
Alex Plate d04196ec7c Use native selection for visual operations 2019-05-06 17:05:45 +03:00
Alex Plate bf7f6054c6 Get editor on action execution start 2019-05-06 15:08:39 +03:00
Alex Plate afe745dc44 Add null-check for LaF listener 2019-05-06 14:52:10 +03:00
Alex Plate 5032bc4da7 Add some comments to functions 2019-05-06 14:49:58 +03:00
Alex Plate 10c19bbb94 Move caret one char left (after selection) not in recursive way 2019-05-06 13:38:06 +03:00
Alex Plate 7519eb1f43 Move listeners to separate package 2019-05-06 12:20:15 +03:00
Alex Plate 95b800638b Enter insert mode when enabling template without selection 2019-05-06 12:18:22 +03:00
Matt Ellis ff9a3a55e2 Ensure current action processes next keystroke
This allows cancelling inserting digraph or register with movement keys. Unprocessed keys are ignored, unless it's <C-C>, in which case the ex entry is cancelled.
2019-04-30 20:58:06 +01:00
Alex Plate 56b4e50aab Event is not null for before/after actionPerformed 2019-04-30 19:05:05 +03:00
Matt Ellis 32d513a74f Reset ex entry when lost focus due to mouse click 2019-04-30 16:50:05 +01:00
Alex Plate 8ce4768aa6 Enable insert mode after surround with if action 2019-04-30 18:49:21 +03:00
Alex Plate 31b41cacba Fix motion caret to the next line after changing full text 2019-04-30 16:33:31 +03:00
Alex Plate ddaf190c3c Add file to define Idea-specific behaviour
Move caret to right position for rider - extendSelection action
2019-04-30 15:47:28 +03:00
Alex Plate e873009aeb Disable listeners if IdeaVim was not enabled on editor creation 2019-04-30 14:44:39 +03:00
Matt Ellis 7ec3abb069 Correctly set focus when handling cmode mapping
Fixes VIM-1419, fixes VIM-1493
2019-04-30 11:42:30 +01:00
Alex Plate cfd69d1603 Stay in select mode in PyCharm after deleting indent 2019-04-30 11:35:45 +03:00
Alex Plate f816bc23e9 Create more complicated VimSelection structure. Support dollar motion 2019-04-29 16:46:30 +03:00
Matt Ellis 8601730dd8 Add prompt when inserting digraphs and registers
Also resets state correctly when cancelling inserts
2019-04-29 14:12:19 +01:00
Alex Plate 336342c72e [IDEA-211429] Directly enable insert mode for dialogs 2019-04-29 15:16:18 +03:00
Alex PlateandGitHub 45b757697a Merge pull request #192 from danielemegna/VIM-1644
[Vim 1644] - Fix action repeat broken with visual mode
2019-04-29 15:08:20 +03:00
Alex PlateandGitHub a9a0d6233e Merge pull request #191 from citizenmatt/feature/beep
Only beep once every half second
2019-04-29 14:42:15 +03:00
Alex PlateandGitHub af79066c26 Merge pull request #179 from Vvalter/master
Fix VIM-1090 and VIM-1100 tag motion with duplicate tags.
2019-04-29 13:59:15 +03:00
Matt Ellis 906d2a4168 Insert register at caret location, instead of appending 2019-04-29 11:44:34 +01:00
Alex PlateandGitHub 3b360c807e Merge pull request #188 from ECourant/feature/command
(VIM-1105) Adding support for command aliasing.
2019-04-29 13:21:53 +03:00
Alex Plate d0bec7db4d Update copyright and make code more kotlin-specific 2019-04-29 13:07:57 +03:00
Matt Ellis e7603a78d0 Add tests for ex entry shortcuts 2019-04-29 09:29:08 +01:00
Matt Ellis 3a728df3b1 Ensure all shortcuts are seen by ex entry field
Fixes VIM-1550
2019-04-28 17:06:23 +01:00
Daniele Megna 417fa314b4 Fix VIM-1644: keep Visual and VisualBlock start-end values updated
during MotionGroup#toggleVisual method
2019-04-28 11:20:20 +02:00
Simon Rainer 73cfd71bd4 Fixes successive tag block selection. 2019-04-27 12:46:33 +02:00
Simon Rainer 415abd13c9 Merge remote-tracking branch 'upstream/master' 2019-04-26 17:18:08 +02:00
Matt Ellis e94eac77eb Show correct caret shape on command line
Also refreshes font when editor font changes
2019-04-26 14:44:40 +01:00
Matt Ellis 25b11349a4 Update list of cmdline editing commands 2019-04-26 14:43:56 +01:00
Elliot Courant 4ea8e15710 (VIM-1105) Adding support for command aliasing.
Commands `command`, `comclear` and `delcommand` have been added. `command` also
supports -nargs, allowing arguments to be passed to the aliased command.
Symbols supported for -nargs are: <args> <q-args> <count> <lt>.
2019-04-26 06:17:30 -05:00
Matt Ellis 890562e810 Only beep once every half second 2019-04-26 11:49:41 +01:00
Alex Plate 9b4d38ed3c Rearrange VisualMotionGroup code 2019-04-25 17:19:36 +03:00
Alex Plate 33c33431f9 Update indent 2019-04-25 16:09:22 +03:00
Alex Plate 53d3e0db88 Remove useless function 2019-04-25 15:22:32 +03:00
Alex Plate 94e4556bee Remove unnecessary user data (wasVisualBlock) 2019-04-25 14:56:15 +03:00
Alex Plate 1ad9dd4a28 Save caret position after cursor dragging 2019-04-25 14:47:14 +03:00
Alex Plate e15f0e07dd Add some comments to VisualGroup 2019-04-25 13:29:42 +03:00
Alex Plate eda734e728 Add missing @NotNull annotation 2019-04-25 12:09:24 +03:00
Alex PlateandGitHub 5132327d62 Merge pull request #159 from ikenox/search-action-by-shortcut-key
Search actionlist by keyboard shortcuts which is assigned to action
2019-04-25 12:09:09 +03:00
Alex Plate 55e0200fb6 Move caret to right place after gutter mouse selection 2019-04-25 11:45:55 +03:00
Alex Plate fefd6699f3 Select full line while visual line mode 2019-04-25 11:04:05 +03:00
Alex Plate 963840612c Select full line while visual line mode 2019-04-25 10:54:46 +03:00
Alex Plate fd8e567c60 Format ChangeGroup 2019-04-24 20:26:55 +03:00
Alex Plate 69d02b8abb Fix small typos in userData() functions 2019-04-24 17:09:08 +03:00
Alex Plate ccf721fd6c Store vim selection start and end in VimSelection model 2019-04-24 15:01:12 +03:00
Alex Plate 55bd13c3f2 Reorganize Visual- and MotionHandlers 2019-04-23 17:26:57 +03:00
Alex Plate f8de555032 [VIM-1184] Store all vim settings only locally (except keymapping) 2019-04-23 15:49:33 +03:00