Skip to content

Instantly share code, notes, and snippets.

View harishkannarao's full-sized avatar

Harish Kannarao harishkannarao

View GitHub Profile
Quitting
:x Exit, saving changes
:q Exit as long as there have been no changes
:wq Write and Quit. Saves any changes made to the file
ZZ Exit and save changes if any have been made
:q! Exit and ignore any changes
Inserting Text

Less Cheatsheet

less {filename}

Navigation
SPACE forward one window
b backward one window
d forward half window