I've used VIM for many years as my primary text editor. And I am still learning how to use VIM for various editing tasks.
The problem is that even if I learn something and use it once a week I forgot soon how I did it -- classic case is search and replace in many buffers using bufdo
:(.
I was wondering if there is any kata to daily VIM practice including many VIM commands:
- open existing files,
- create new files,
- edit files and move around:
- move cursor (beginning & end of line/function/block/screen, top & bottom of screen, move screen line up/down, etc.),
- mark, copy & paste,
- insert & remove characters/words/lines,
- move between buffers,
- move between windows,
- arrange windows,
- search & replace,
- repeat last command,
- formatting (
=
), - probably some more (bookmarks, macros).
- save files,
- create/update/save an open projects (
mksession
andsource
).
Do you know any kata for VIM of tutorial which could help to practice all above (and more) VIM commands?
Added on 7th April
I've already used VIM Quick Reference Card, but it's annoying that I have to stop coding in the middle of flow to check how can I split the window/move between windows/search and replace in all buffers or move screen a line up (^E
) -- examples from last few weeks.