Commit Graph
8350 Commits
Author SHA1 Message Date
Alexey Gerasimov afbe7f0e69 Add findPositionOfFirstCharacter function 2020-02-07 19:48:40 +05:00
Alexey Gerasimov 94e65ddce6 Use isQuoteWithoutEscape when findCharacterPosition to detect escaped char 2020-02-07 19:48:40 +05:00
Alexey Gerasimov cb9f144255 isQuoteWithoutEscape small improvement 2020-02-07 19:48:40 +05:00
Alexey Gerasimov ac84624faa Use Direction enum instead of int 2020-02-07 19:48:40 +05:00
Alexey Gerasimov c2196785e7 Add tests 2020-02-07 19:48:40 +05:00
Alexey Gerasimov 30097fbae6 Assume that caret is in string/char only if there is closing char 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 373fef2824 Refactor MappingInfo 2020-02-07 12:42:36 +03:00
Alex Plate cfc255bf2b Rename .java to .kt 2020-02-07 12:41:57 +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 0.55.1-EAP 2020-02-04 18:55:31 +03:00
Alex PlateandGitHub 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
Alex Plate 1519faef81 Fix compatibility with the IdeaVim-EasyMotion 2020-02-04 11:13:38 +03:00
Matt Ellis 9fad4a74ed Remove keys from Command
Also refactors PutVisualTextAction
2020-02-04 00:36:59 +00:00
Matt Ellis 24f023c8b3 Update changes 2020-02-03 23:35:53 +00:00
Matt Ellis 3eb46114f8 Remove Shortcut class 2020-02-03 23:35:04 +00:00
Matt Ellis 6a5fd30531 Remove unnecessary empty shortcut registration 2020-02-03 23:31:18 +00: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
Alex Plate f1c8c67789 Use enumMap to store key roots 2020-01-31 10:17:56 +03:00
Alex Plate 75e8f4ec6d Deny vimAction extension point contributions from other plugins 2020-01-30 21:23:23 +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 ab31dae582 Add todo for VimLocalConfig 2020-01-27 12:25:45 +03:00
Alex Plate 64f176cedb Control dynamic loading of plugin via the application component 2020-01-27 11:45:26 +03:00
Alex Plate 9e921d6621 Move plugin.xml includes into separate folder 2020-01-27 11:40:42 +03:00
Alex Plate a4b98f2848 Update CHANGES.md 2020-01-27 11:36:30 +03:00
Alex Plate 0d190e4a63 Update copyright 2020-01-27 11:35:00 +03:00
Alex PlateandGitHub 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
Alex Plate 01abba7d2c Use 201-EAP version for build 2020-01-27 11:11:05 +03:00
Alex Plate 80074177fc Make ascii doc a bit clearer 2020-01-27 11:11:05 +03:00
Alex PlateandGitHub bf67f8984a Add info about easymotion plugin 2020-01-25 16:32:43 +03:00
Alex Plate b2267c4b6c Add information about non-released actions 2020-01-24 13:41:47 +03:00
Alex Plate c80d69a31c Add note about VIM-987 into changelog 2020-01-24 13:41:47 +03:00
Alex PlateandGitHub 1b7c3f0da3 Merge pull request #214 from sumoooru2/master
Implement c_CTRL-N/P
2020-01-22 10:56:37 +03:00
Alex Plate c1ff6e1498 Prepare to the 0.55 release 0.55 2020-01-20 20:15:36 +03:00
Alex Plate 50c04ce71c Change LookupKeys implementation 2020-01-20 15:29:40 +03:00
Alex Plate bc6ff6bc8e Convert characterHelper to kt 2020-01-19 17:55:15 +03:00
Alex Plate 93bcf2a7e8 Rename .java to .kt 2020-01-19 17:55:14 +03:00
Alex Plate c3b503adff Set up a mechanism to define the KeyStrokes that should work with active lookup 2020-01-19 17:34:12 +03:00
Alex Plate ecdcbdda10 Put all range files into the ranges directory 2020-01-16 15:13:56 +03:00