Essential VIM Commands with Cheatsheet - VIM Tutorials for Beginners (Updated)

Опубликовано: 02 Июнь 2026
на канале: Precious Iriaevho
3,959
51

Essential VIM Commands for Beginners & Experts (New Update)
Essential VIM Commands - VIM Tutorials for Beginners (Updated)

VIM Cheatsheet : https://drive.google.com/file/d/15cd4...

This Video will show you how to use the Essential VIM Commands for Beginners & Experts.

--
VIM Commands
------------
MODE
i - Enter insert mode
: - Enter command mode
esc - Return to normal mode from insert or replace mode
esc+esc- Return to normal mode from command or visual mode

------------
EDITING
o - Insert a line below the current line, then enter insert mode
O - Insert a line above the current line, then enter insert mode
R - Enter replace mode
dd - Delete Line
v - Enter visual mode (highlighting)
V - Enter visual line mode (highlighting lines)
y - Yank
p - Paste
x - Delete Character
/search - Search
n - Next word on search
U - Undo
Ctrl+R – Redo

------------
NAVIGATION
h j k l - Moving or arrow keys
10j - Move down 10 lines
H - Top line on screen
M - Middle line on screen
L - Bottom line on screen
gg - First line of the file
G - Last line of the file
w - Beginning of next word
e - The end of the current word
b - Beginning of current word
:20 - Line 20 of the file
0 - Beginning of current line
$ - End of current line

------------
MANIPULATING FILES
:w - Save the current file
:wq - Save the current file and close it; exits vim if no open files remain
:q - Quit a file (Must Save)
:q! - Close a file without saving
:x - Write any changes to the file and close the file

#vim #ubuntu #vimcommands