Repository navigation
Commit ec73242
Add vim macro recording and playback
q{register} records keys into a register, and @{register} plays them
back, with a count, @@ for the last macro, @: for the last ex command,
and @+ for the clipboard. Playback stops at the first failing command,
so 100@a and recursive macros work as in vim.
Insert mode keys from macros and '.' are now typed into the text area
as key events, so that auto-indentation etc. behave as when recorded.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent c3c9caf commit ec73242
3 files changed
Lines changed: 373 additions & 42 deletions
File tree
- src
- main/java/org/scijava/ui/swing/script
- vim
- test/java/org/scijava/ui/swing/script/vim
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
182 | 185 | | |
183 | 186 | | |
184 | 187 | | |
| |||
0 commit comments