ysiw<key>: Add<key>around the wordds<key>: Remove<key>surrounding a wordcs<key1><key2>: Change<key1>to<key2>
viw: Select wordvi<key>: Select content inside<key>(where<key>is a delimiter like(,{,", etc.)va<key>: Select inclusive of<key>S<key>(in visual mode) : Surround selection with<key>
<C-o>: Jump to previous cursor position<C-i>: Jump to next cursor position'': Jump back to previous mark position
*: Find next occurrence of the word under cursor#: Find previous occurrence of the word under cursorg*: Find next partial match of the word under cursorg#: Find previous partial match of the word under cursor<C-g>: Show buffer file path<K>: Show documentation for function/variable under cursor
<za>: Toggle fold<zc>: Close fold<zo>: Open fold<zR>: Open all folds<zM>: Close all folds
:bp/:bn: Go to previous/next buffer:bd: Close current buffer<C-^>: Switch to last used buffergf: Open file under cursor<C-w>f: Open file under cursor in a new split
<C-w>v: Split window vertically<C-w>s: Split window horizontally<C-w>w: Switch between windows<C-w>c: Close window<C-w>o: Close all other windows
<C-\><C-n>: Exit terminal mode<C-w>n: Open new terminal buffer
:tabnew: Open a new tabgt: Next/Previous tab:tabclose: Close current tab:tabonly: Close all other tabs
.: Repeat last commandu: Undo last change<C-r>: Redo:%s/old/new/gc: Replaceoldwithnewin the whole file with confirmationgg=G: Auto-indent entire file
These commands help boost productivity in Vim/Neovim!