Vim
Vim usage, shortcuts, and configuration tips.
How to Copy, Cut and Paste in Vim / Vi
Copy, cut, and paste in Vim with yank, delete, and put commands. Includes copying to the system clipboard, the unnamedplus setting, and OSC 52 over SSH.

How to Search in Vim / Vi
Learn how to search in Vim / Vi with forward and backward search, whole-word matching, case sensitivity, search highlighting, and smartcase examples.

How to Delete Lines in Vim / Vi
Delete lines in Vim or Vi with dd, :%d, visual mode, or :g/pattern/d. Examples for single lines, ranges, all lines, and pattern-based deletion.

How to Undo and Redo in Vim / Vi
Undo and redo in Vim or Vi with u, Ctrl+r, :earlier, and :later. Covers time-based undo, undo branches, and persistent undo with undofile.

How to Show Line Numbers in Vim and Vi
Turn on line numbers in Vim or Vi for the current session, set them by default in .vimrc or init.lua, and switch between absolute, relative, and hybrid numbering.

Find and Replace in Vim / Vi
Step-by-step guide to finding and replacing text in Vim using the :substitute command. Covers ranges, flags, regex, case sensitivity, and practical examples.



