Y
Hacker News
new
|
ask
|
show
|
jobs
by
jcw
5646 days ago
Yep. This kind of stuff can also be done with vimscript, python, or ruby, but macros are short and terse and easy to write. Vim even allows you to record your keypresses and save them to a macro.