Move cursor x lines from current position in vi/vim
Yep, of course there’s a way. j and k move down and up one line, so 10j and 10k move down and up ten lines. You can repeat any motion by putting a number before it. You might also want to set relativenumber if this is something you do a lot of – it’ll help … Read more