AIOPS DEVSECOPS AWS LINUX vim editor
PURNACHANDER UPPULA
0:00 / 0:00
AIOPS DEVSECOPS AWS LINUX vim editor
10 просмотров · 9 дн. назад
PURNACHANDER UPPULA
7 подписчиков
10 просмотров · 9 дн. назад
vim editor by default esc mode
insert i (to insert the lines enter i to insert the content/word/sentence)
esc :wq (write and quit / save the file)
esc :q! (you enter something dont want to save)
esc :wq! (force fully save the file)
:set nu (set number
/word-to-search (top to search)
?word-to-search (bottom to search)
:10 (will go to 10 line)
:6 (6th line)
:10d
:11,13d
:%s/word-to-find/replace-word (entire word replace)
esc gg (go to first line)
esc shift + g (bottom of the line)
esc yy (copy the line)
esc p (paste)
esc 10p (will paste 10 lines)