Vim/Neovim
Advanced Editing Commands
Master advanced Vim editing techniques. Learn named registers for clipboard management, marks for navigation, folds for code organization, and powerful line operations.
8 commands
Pro Tips
Use named registers to store multiple yanks: '"ayy' yanks to register 'a', '"ap' pastes from it.
Set marks with 'm{letter}', jump back with '`{letter}'. Use uppercase for global marks across files.
Use 'zf' to create folds, 'zo'/'zc' to open/close, 'zR'/'zM' to open/close all folds.
Join lines with 'J', sort lines with ':sort', increment numbers with Ctrl-a, decrement with Ctrl-x.