Last Updated: January 05, 2018
·
622
· johnmaguire

Jump to Column (Not Line) in vim

Everyone knows you can use :10 while in normal mode to jump to the tenth line in vim.

But did you know, 10| can be used in normal mode to jump to the tenth character of the current line?

I find it useful for breaking up lines that are longer than they should be. For example, you can use 80| while editing Python code to put the cursor where you should insert a line break (or close to it!)