Basic Navigation
h → Move left
l → Move right
j → Move down
k → Move up
Ctrl + u → Move half-page up
Ctrl + d → Move half-page down
gg → Go to the top of the file
G → Go to the bottom of the file
<number>j → Jump down by <number> lines (e.g., 11j)
<number>k → Jump up by <number> lines (e.g., 22k)
f<char> → Jump to the next occurrence of <char> in the line (e.g., fB)
; → Jump forward to the next occurrence of the last searched character
, → Jump backward to the last searched character
Word Navigation
w → Jump to the start of the next word
b → Jump to the start of the previous word
* → Search for the word under the cursor (forward)
# → Search for the word under the cursor (backward)
File & Search
space + FF → Fuzzy file search (requires Telescope)
space + / → Live grep search (finds text inside files)
/search_term → Search for search_term in the file
n → Jump to the next search result
N → Jump to the previous search result
Setting & Using Marks
m<char> → Set a mark at the current position (e.g., mA)
'char → Jump to the marked position (e.g., 'A)
Miscellaneous
ZZ → Save and close file
ZQ → Quit without saving
space + E → Open file explorer
space + O → Switch focus to file explorer
shift + V, gg, y → Select and copy the entire file