Complete Vim Keyboard Shortcuts
Vim is a highly configurable text editor built for efficient text editing. Its keyboard shortcuts enhance productivity across navigation, editing, and command modes.
Official URL: https://www.vim.org
Navigation
Move left
h
Move right
l
Move up
k
Move down
j
Scroll down half a screen
Ctrl+d
Scroll up half a screen
Ctrl+u
Editing
Enter insert mode
i
Return to normal mode
Esc
Delete the character under the cursor
x
Delete the current line
dd
Copy (yank) the current line
yy
Paste the copied text
p
Search
Search forward
/
Search backward
?
Repeat the last search in the same direction
n
Repeat the last search in the opposite direction
N
Command Modes
Enter command-line mode
:
Save the current file
:w
Quit Vim
:q
Save and quit
:wq
Miscellaneous
Undo the last action
u
Redo the last undone action
Ctrl+r
Display file name and status
Ctrl+g
Vim
Additional information not available for this software.