mirror of
https://github.com/tpope/vim-repeat.git
synced 2026-09-10 07:16:26 -04:00
For commands that take an optional register (like p/P), Vim uses the same register on repetition. This enhancement allows the same for custom mappings, which need to call repeat#setreg() before repeat#set(). (No changes for the vast majority of mappings that don't use registers.) It even supports repeat of the expression register, with the expression being re-evaluated on repeat. |
||
|---|---|---|
| .. | ||
| repeat.vim | ||