It has been a while since the last posts from this series, so the title weekly doesn’t really apply. The previous 2 bite-sized commitments to improve my Vim skills worked well, with about 75% of the things I tried to internalize now in daily use. This week I will focus on some movements, sticking to the number 4.
H
andL
move to top and bottom screen.ctrl+F
andctlr+B
move a page forward and back.
I find the behaviour of this a bit strange, because it places you on the second to last line of the current page.'
followed by a mark moves to the line of that mark.
Useful automatic marks are.
for the location of the last edit and'
for the location before the last jump.nG
moves to line n.
I used to use:n
for this, but that is not really a movement and thus can’t be combined with other commands.
For more movements also have a look at this Vim Movements Wallpaper. I won’t use it personally, but it makes for a handy reference.