This commit is contained in:
ilya 2025-05-01 12:31:26 +05:00
parent fcc74fb2ce
commit 5d9eed02fe

View File

@ -5,19 +5,12 @@ Commands:
Ctrl-] -- move to |hyperlink|
Ctrl-O -- come back from hyperlink
Window management:
Always starts from Ctrl-W
Ctrl-W h -- to the left window
Ctrl-W j -- to the bottom window
Ctrl-W l -- to the top window
Ctrl-W l -- to the right window
Help:
:help index -- complete index of all Vim commands
:help Ctrl-W -- find help with window management command
:help usr_toc.txt -- all user manuals breef look
Ctrl-H H -- move window to left
Ctrl-H J -- move window to bottom
Ctrl-H K -- move window to top
Ctrl-H L -- move window to right
Word / file navigation: stoped reading on 82%
Word / file navigation:
fh | 3fl -- move cursor to the "h" letter of the current line
f<Esc> -- aborts search
Fh | 3Fl -- like above, but searches to the left
@ -52,9 +45,27 @@ Commands:
:set number -- show line numbers
:set nonumber -- unshow line numbers
:set ruler -- show in the bottom right corner where is your cursor
:marks -- see all available marks
Help:
:help index -- complete index of all Vim commands
:help Ctrl-W -- find help with window management command
:help usr_toc.txt -- all user manuals breef look
Making small changes:
d$ -- deletes to the end of the line
cc -- like dd, but changes line
c$ -- changes all to the end of the line
X -- delete prev symbol
D -- delete to the end of the line
C -- change to end of the line
s -- change one character
S -- change a whole line
Window management:
Always starts from Ctrl-W
Ctrl-W h -- to the left window
Ctrl-W j -- to the bottom window
Ctrl-W l -- to the top window
Ctrl-W l -- to the right window
Ctrl-H H -- move window to left
Ctrl-H J -- move window to bottom
Ctrl-H K -- move window to top
Ctrl-H L -- move window to right