Unlock Hidden Powers.
Vim is full of secrets. Discover the commands that will make you look like a wizard in front of your colleagues.
Save as Sudo
Forgot to open the file with sudo? No problem. Use this command to save the file with root privileges without closing it.
Relative Line Numbers
Toggle relative line numbers to make vertical jumps (like 10j or 5k) much easier to calculate.
Change Inside Container
Instantly clear and enter insert mode inside quotes, brackets, or tags. The ultimate editing shortcut.
Global Search & Replace
Replace all occurrences of "foo" with "bar" in the entire file, asking for confirmation for each.
Paste from Register 0
Paste the text you just yanked, not what you just deleted. Register 0 always holds the last yank.
Jump to Last Edit
Teleport your cursor back to the exact location where you last made a change.
Visual Block Mode
Edit multiple lines at once. Perfect for commenting out blocks or adding prefixes.
Built-in File Explorer
Open the built-in file explorer (Netrw) to browse files in the current directory.
Record a Macro
Start recording keystrokes into register "a". Press q again to stop. Replay with @a.