VIM

MACROS






@YannMoisan


Like the game of Othello, Vim's macros take a minute to learn and a lifetime to master.
Drew Neil

WHY ?

automate

example : vertical alignment

line "a pretty comment

another line "another comment

etc "etc

RECORD

Start

q{register} 
End
q 







(see :h q)

EXECUTE

@{register}  









(see :h @)

VIEW

:reg {register} 

EDIT

:put {register} 

EXECUTE in SERIES

n@{register} 

EXECutE IN PARALLEL

:normal @{register} 

GO FURTHER

advanced vim macros

MACRO

By yamo

MACRO

  • 1,648
Loading comments...

More from yamo