new-info.txt
This commit is contained in:
parent
b9a686bfeb
commit
fcc74fb2ce
29
new-info.txt
29
new-info.txt
@ -17,18 +17,43 @@ Commands:
|
|||||||
Ctrl-H K -- move window to top
|
Ctrl-H K -- move window to top
|
||||||
Ctrl-H L -- move window to right
|
Ctrl-H L -- move window to right
|
||||||
|
|
||||||
Word movement:
|
Word / file navigation: stoped reading on 82%
|
||||||
fh | 3fl -- move cursor to the "h" letter of the current line
|
fh | 3fl -- move cursor to the "h" letter of the current line
|
||||||
f<Esc> -- aborts search
|
f<Esc> -- aborts search
|
||||||
Fh | 3Fl -- like above, but searches to the left
|
Fh | 3Fl -- like above, but searches to the left
|
||||||
tl | 3tl -- like fh, but cursor stops before the letter
|
tl | 3tl -- like fh, but cursor stops before the letter
|
||||||
Tl | 3Tl -- like above, but searches to the left
|
Tl | 3Tl -- like above, but searches to the left
|
||||||
ge -- moves to the previous end of the word
|
ge -- moves to the previous end of the word
|
||||||
|
g* -- finds partial word under cursor in the file
|
||||||
|
g* -- like above, but to the other direction
|
||||||
$ | 5$ -- to the end of the line
|
$ | 5$ -- to the end of the line
|
||||||
^ -- to begin of the first word in line
|
^ -- to begin of the first word in line
|
||||||
0 -- to begin of the line
|
0 -- to begin of the line
|
||||||
|
25% -- moves you to the 1/4 of the file
|
||||||
|
H -- move cursor to the top line of the current window
|
||||||
|
M -- move cursor to the middle line of the current window
|
||||||
|
L -- move cursor to the bottom line of the current window
|
||||||
|
Ctrl-G -- get where you are in the file
|
||||||
|
zt -- like below, but to the top
|
||||||
|
zz -- moves context to the middle of the current cursor pos
|
||||||
|
zt -- like above, but to the bottom
|
||||||
|
* -- finds word under cursor in the file
|
||||||
|
# -- same like above, but to the other direction
|
||||||
|
/the\> -- finds only words that ends in "the "
|
||||||
|
/\<the\> -- finds only " the " matches
|
||||||
|
`` -- go to the prev position (mark, mark -- pos before jump)
|
||||||
|
Ctrl-O -- go to the previous jump (mark)
|
||||||
|
Ctrl-I -- go to the next jump (mark)
|
||||||
|
m[a-z] -- set mark with letter name
|
||||||
|
'[a-z] -- move to the row with the mark
|
||||||
|
`[a-z] -- move to the row and column with the mark
|
||||||
|
:set hlsearch -- will highlight all matches
|
||||||
|
:set ignorecase -- to ignore letter case during searches
|
||||||
|
:set number -- show line numbers
|
||||||
|
:set nonumber -- unshow line numbers
|
||||||
|
:set ruler -- show in the bottom right corner where is your cursor
|
||||||
|
|
||||||
Console:
|
Help:
|
||||||
:help index -- complete index of all Vim commands
|
:help index -- complete index of all Vim commands
|
||||||
:help Ctrl-W -- find help with window management command
|
:help Ctrl-W -- find help with window management command
|
||||||
:help usr_toc.txt -- all user manuals breef look
|
:help usr_toc.txt -- all user manuals breef look
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user