Built at:
Vim#
Cheat sheets#
v, g, C-g
print the current position of the cursor in five ways: Column, Line, Word, Character and Byte. See :h g_CTRL-G
:set linebreak wrap
wrap long line DAVE TANG'S BLOGc-]
under help buffer's tag cursor to jump into tag referencegq
on visual mode selection will fix indentation using built-in vim formatter Automatic formatting in C/C++/etc while typing in Neovim==
on normal mode to correct current (under cursor) linec-o
navigate to the previous location in the jump list (think o as old) jumping back and forth in Normal modec-i
navigate to the next location in the jump list (i and o are usually next to each other)g;
go to the previous change locationg,
go to the newer change locationgi
place the cursor at the same position where it was left last time in the Insert mode