Skip to content

Latest commit

 

History

History
13 lines (12 loc) · 525 Bytes

vim.md

File metadata and controls

13 lines (12 loc) · 525 Bytes

refactor
space+fg (telescope)
CTRL+q - quick fix
:cdo - execute arbitrary command on every file withing quick fix list
:cdo s/previous/next/gC

  • s/previous/next/g - substitute
  • ...C - confirm

macro
q h - record the macro - q: macro, h: register for macro - record macro (q) in registe h (h)
q - stop recording the macro
@h - run macro 5@h - run macro 5 times