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