Commit Graph
6167 Commits
Author SHA1 Message Date
1grzyb1 7520863dd1 VIM-4238 Track current editor in macro
In search window editor was chagned but macro group was using previous one so we had to change way of tracking if editor has chagne during macro execution
2026-05-27 08:45:00 +00:00
1grzyb1 14e7cfe0e7 VIM-4245 Fix repeat-insert undo grouping so one u reverts one logical change
Wrap the undo-mark only when there's actual replay work (count > 1,  block insert, or dot-repeat) — otherwise the always-fired wrap on plain `iHi<Esc>` emitted an empty mark group that swallowed the first `u`.
2026-05-22 09:41:25 +00:00
1grzyb1 95128f407b VIM-4235 use native saveFile action in :w
using FilerometeApi didn't trigger reformat on save action in splitmode/rider so I chagned it to native action execution in on save
2026-05-22 08:42:52 +00:00
1grzyb1 224156324d VIM-4245 group repeatInsert and insertPreviousInsert into single undo 2026-05-22 07:30:54 +00:00
1grzyb1 4cf7d6d4dc VIM-1362 Add abolish search 2026-05-20 10:40:45 +00:00
1grzyb1 6c7da4c183 VIM-1362 refactor abolish plugin to walk through substitiute command
This is the way real plugin does that, and it gives us all flags for free
2026-05-20 10:40:45 +00:00
1grzyb1 a7dcf36522 VIM-1362 Add user-defined coercion through g:abolish_coercions variable 2026-05-20 10:40:45 +00:00
1grzyb1 660753fdcd VIM-1362 Add missing coercion mappings 2026-05-20 10:40:45 +00:00
1grzyb1 3aedcceb13 VIM-1362 Add count to recase action 2026-05-20 10:40:45 +00:00
1grzyb1 6662525333 VIM-1362 Visual mode coercions 2026-05-20 10:40:45 +00:00
1grzyb1 2f0b72f933 VIM-1362 operator pending coersion mapping 2026-05-20 10:40:45 +00:00
1grzyb1 f57dbb4fa9 VIM-1362 add missing gap between original abolish plugin 2026-05-20 10:40:45 +00:00
1grzyb1 c7c82fa580 VIM-1362 Implement vim abolish plugin 2026-05-20 10:40:45 +00:00
1grzyb1 be91bf2504 VIM-833 implement command history actions
Add `q:` `q/` and `q/`
2026-05-19 10:05:00 +00:00
Matt Ellis 4402a1f001 Fix logic when reading history entries 2026-05-19 12:51:26 +03:00
Matt Ellis 02c522b352 Fix histget() with omitted index 2026-05-19 12:51:26 +03:00
Matt Ellis 2dd76658c1 Extract tracking current history from command line 2026-05-19 12:51:26 +03:00
Matt Ellis c81850982f Do not save empty command line as history 2026-05-19 12:51:26 +03:00
Matt Ellis 2bc2c5e4b2 Push clearing output panel to the test fixture 2026-05-19 12:51:26 +03:00
Matt Ellis 288e885dd9 Encapsulate HistoryBlock and make internal 2026-05-19 12:51:26 +03:00
Matt Ellis d5e917c5c6 Add histdel() history function 2026-05-19 12:51:26 +03:00
Matt Ellis 86aa74550a Add histnr() history function 2026-05-19 12:51:26 +03:00
Matt Ellis 97da421eec Add histget() history function 2026-05-19 12:51:26 +03:00
Matt Ellis 03a44d9855 Add histadd() history function 2026-05-19 12:51:26 +03:00
grzybek 784cd6e41a VIM-4184 remove wl-copy from primary writers
Use only xclip on wayland as wl-copy makes whole IDE flickers
2026-05-18 09:17:14 +00:00
AndDe-gourav be8558f5d1 added test for ctrl u preserves indentation 2026-05-18 11:49:13 +03:00
Matt Ellis ceabada9b1 Add digraph_setlist() function 2026-05-18 11:42:47 +03:00
Matt Ellis bd87ba8d77 Add digraph_set() function 2026-05-18 11:42:47 +03:00
Matt Ellis 9acc676c5c Add digraph_getlist() function 2026-05-18 11:42:47 +03:00
Matt Ellis 7fda1f1772 Add digraph_get() function 2026-05-18 11:42:47 +03:00
Matt Ellis 75fe116e3e Add mapset() mapping function 2026-05-15 17:25:58 +03:00
Matt Ellis 6039227534 Add hasmapto() mapping function 2026-05-15 17:25:58 +03:00
Matt Ellis bce624cb73 Add maplist() mapping function 2026-05-15 17:25:58 +03:00
Matt Ellis a9f6a4d608 Move showKeyMapping to map command implementation 2026-05-15 17:25:58 +03:00
Matt Ellis d8b6d0a104 Push function to get all mappings to vim-engine 2026-05-15 17:25:58 +03:00
Matt Ellis f06dd610f4 Introduce getMappingInfo helper function 2026-05-15 17:25:58 +03:00
Matt Ellis 489c2c1fc9 Remove unnecessary MappingInfoLayer 2026-05-15 17:25:58 +03:00
Matt Ellis da9274fcf3 Remove unnecessary KeyMappingLayer abstraction
While it does give us a read-only abstraction over KeyMapping, it means we have two methods that do the same thing - getKeyMapping and getKeyMappingLayer without a clear indication of what the difference is. Furthermore, external usages only use getKeyMapping, and the layer isn't used at all.
2026-05-15 17:25:58 +03:00
Matt Ellis 782a163dde Simplify use of keys helper function 2026-05-15 17:25:58 +03:00
Matt Ellis c608161b0d Add mapcheck() mapping function 2026-05-15 17:25:58 +03:00
Matt Ellis 3f9f6adbaa Fix bug fetching maps by prefix
If there were no matching prefixes, it would return all nodes. And if the prefix was an actual match, it would return it twice
2026-05-15 17:25:58 +03:00
Matt Ellis e327fad99c Fix(VIM-4225) Use the same mappings as vim-sneak 2026-05-15 17:25:58 +03:00
Matt Ellis d358c80453 Remove some non-Vim mapping modes 2026-05-15 17:25:58 +03:00
Matt Ellis 00f1021f25 Add maparg() mapping function 2026-05-15 17:25:58 +03:00
claude[bot]andClaude Sonnet 4.6 255689cd69 Maintenance: Remove dead catch block in GlobalCommand, fix typo in SortCommandTest
GlobalCommand.globalExe had a try/catch/finally where the catch block only
re-threw the exception, which is unnecessary - finally executes regardless of
whether a catch is present. Remove the dead catch block.

Also fix a typo in SortCommandTest: "insensive" -> "insensitive".

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 11:46:33 +03:00
Matt Ellis 69344812c6 Introduce function to check for mappings 2026-05-15 08:31:53 +00:00
Matt Ellis 03f5fa7c35 Fix(VIM-4104): Allow Tab to move to next component 2026-05-15 08:31:53 +00:00
grzybek ba49910420 Fix(VIM-4233): focus ex entry panel race condition
When user typed / twice in a row there could be race condition between deactivate and activate panel requesting focus. so becouse of focus parent in deactivate is asnyc it could happen after requestFocusInWindow in activate
2026-05-15 07:40:07 +00:00
1grzyb1 2917f0d15e VIM-380 add support for a method and a class vim object 2026-05-15 06:21:41 +00:00
grzybek fafbb78a0f Fix(VIM-4184): mirror PRIMARY on Wayland via xclip/wl-copy
JBR's WLClipboard takes Wayland-side primary ownership and Mutter's
Wayland→X11 bridge is racy under rapid visual selection, so external
readers (xclip, middle-click-paste) see stale content. Route PRIMARY
writes through xclip (preferred) or wl-copy (fallback) on Wayland,
deferred past IntelliJ's CaretModelImpl.updateSystemSelection
post-yank clobber. AWT path unchanged on X11/macOS/Windows.
2026-05-14 08:15:49 +00:00