added 24
This commit is contained in:
parent
1ee1d875da
commit
68575d2def
28
new-info.txt
28
new-info.txt
@ -240,7 +240,7 @@ Commands:
|
|||||||
There is also information about buffer editing and switching over them,
|
There is also information about buffer editing and switching over them,
|
||||||
but I'am too lazy to conspect it.
|
but I'am too lazy to conspect it.
|
||||||
|
|
||||||
Editing other files:
|
Editing other files (23):
|
||||||
vim -x exam.txt -- create, edit and save encrypted file
|
vim -x exam.txt -- create, edit and save encrypted file
|
||||||
:set key= -- to turn off encryption
|
:set key= -- to turn off encryption
|
||||||
:X -- encrypt current file
|
:X -- encrypt current file
|
||||||
@ -250,7 +250,31 @@ Commands:
|
|||||||
:%!xxd -r -- back to raw binary view
|
:%!xxd -r -- back to raw binary view
|
||||||
BTW it's possible to edit compressed formats (.Z, .gz, .bz2)
|
BTW it's possible to edit compressed formats (.Z, .gz, .bz2)
|
||||||
|
|
||||||
|
Making corrections (24):
|
||||||
|
CTRL-W -- delete word
|
||||||
|
CTRL-U -- delete until beginning
|
||||||
|
CTRL-P -- complete the word or repeate previous. (P)revious
|
||||||
|
CTRL-N -- complete the word. (N)ext
|
||||||
|
There is OMNI completion. Check it out later.
|
||||||
|
CTRL-A in Insert mode to insert text, that were typed during previous
|
||||||
|
insert mode
|
||||||
|
CTRL-@ -- does CTRL-A and then exits Insert mode
|
||||||
|
CTRL-Y -- inserts the character above the cursor
|
||||||
|
CTRL-E -- inserts the character below the cursor
|
||||||
|
CTRL-R {register} -- paste register
|
||||||
|
CTRL-R CTRL-R {register} -- paste register with text commands (like <BS>)
|
||||||
|
:iabbrev qwer function -- when vim will see qwer, it will be replaced
|
||||||
|
by function. (Insert mode abbreviation added)
|
||||||
|
:iab -- same as above
|
||||||
|
:cabbrev / cab -- Command mode abbreviation
|
||||||
|
:unabbreviate {name} -- delete abbreviation
|
||||||
|
:iabclear -- remove Insert abbreviations
|
||||||
|
:abclear -- remove all abbreviations
|
||||||
|
:noabbrev -- it does same as :abbreviate, but avoids the res string used
|
||||||
|
as mappings
|
||||||
|
:digraphs -- to see availabe digraphs like © ¦ § «
|
||||||
|
:CTRL-K {digraph} -- to type digraph
|
||||||
|
:CTRL-O {command} -- to execute command in insert mode
|
||||||
|
|
||||||
Hints:
|
Hints:
|
||||||
There is lowercase and uppercase marks. Uppercase marks are global, they
|
There is lowercase and uppercase marks. Uppercase marks are global, they
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user