New answers tagged

1 vote

How to repeat a command in command-line mode

After running a command :/pattern/delete, the : register can be used to re-run the command like @:, which also takes a count (so 999@: works). After the first use of @:, you can use @@ (unless you ...
user avatar
  • 21.4k
3 votes

Repeat a mapping (like a macro) with dot

The following works: " Python variable to dict nmap <leader>{ @="I'<C-V><ESC>ea'<C-V><ESC>f=r:A,<C-V><ESC>j"<CR> " Python dict to ...
user avatar
  • 3,082

Top 50 recent answers are included