1
0
mirror of https://github.com/chylex/IntelliJ-IdeaVim.git synced 2025-04-16 02:15:43 +02:00

New commands

This commit is contained in:
rmaddy 2004-01-27 06:56:01 +00:00
parent 07385c74cb
commit 4f5ef61ff8

View File

@ -1,4 +1,4 @@
*index.txt* For @NAME@ version @VERSION@. Last change: 2003 Dec 28.
*index.txt* For @NAME@ version @VERSION@. Last change: 2004 Jan 21.
@NAME@ REFERENCE MANUAL by Rick Maddy
@ -505,6 +505,8 @@ tag char note action in Normal mode ~
WORD
|gI| gI 2 like "I", but always start in column 1
|gJ| gJ 2 join lines without inserting space
|gP| ["x]gP 2 put the text [from register x] before the
cursor N times, leave the cursor after it
|gU| gU{motion} 2 make Nmove text uppercase
|g^| g^ 1 when 'wrap' off go to leftmost non-white
character of the current line that is on
@ -523,6 +525,8 @@ tag char note action in Normal mode ~
lines up
|gm| gm 1 go to character at middle of the screenline
|go| go 1 cursor to character N in the buffer
|gp| ["x]gp 2 put the text [from register x] after the
cursor N times, leave the cursor after it
|gu| gu{motion} 2 make Nmove text lowercase
|gv| gv reselect the previous Visual area
|g~| g~{motion} 2 swap case for Nmove text
@ -536,14 +540,10 @@ tag char note action in Normal mode ~
------------------------------------------------------------------------------
|g'| g'{mark} 1 like |'| but without changing the jumplist
|g`| g`{mark} 1 like |`| but without changing the jumplist
|gP| ["x]gP 2 put the text [from register x] before the
cursor N times, leave the cursor after it
|gq| gq{motion} 2 format Nmove text
|gV| gV don't reselect the previous Visual area
when executing a mapping or menu in Select
mode
|gp| ["x]gp 2 put the text [from register x] after the
cursor N times, leave the cursor after it
==============================================================================
2.5 Commands starting with 'z' *z*
@ -552,23 +552,25 @@ tag char note action in Normal mode ~
------------------------------------------------------------------------------
|z<CR>| z<CR> redraw, cursor line to top of window,
cursor on first non-blank
|z+| z+ cursor on line N (default line below
window), otherwise like "z<CR>"
|z^| z^ cursor on line N (default line above
window), otherwise like "z-"
|z-| z- redraw, cursor line at bottom of window,
cursor on first non-blank
|z.| z. redraw, cursor line to center of window,
cursor on first non-blank
|zb| zb redraw, cursor line at bottom of window
|zc| zc close a fold
|zM| zM set 'foldlevel' to zero
|zo| zo open fold
|zR| zR set 'foldlevel' to the deepest fold
|zt| zt redraw, cursor line at top of window
|zz| zz redraw, cursor line at center of window
TODO:
tag char note action in Normal mode ~
------------------------------------------------------------------------------
|z+| z+ cursor on line N (default line below
window), otherwise like "z<CR>"
|z^| z^ cursor on line N (default line above
window), otherwise like "z-"
|zC| zC close folds recursively
|zO| zO open folds recursively
|ze| ze when 'wrap' off scroll horizontally to
@ -743,6 +745,7 @@ The commands are sorted on the non-optional part of their name.
|:Next| :N[ext] go to previous file in the argument list
|:argument| :argu[ment] go to specific file in the argument list
|:browse| :bro[wse] use file selection dialog
|:class] :cla[ss] find class in project and edit it (not in VIM)
|:close| :clo[se] close current window
|:copy| :co[py] copy lines
|:delete| :d[elete] delete lines
@ -1085,9 +1088,7 @@ tag char note action in Normal mode ~
|zD| zD delete folds recursively
|zE| zE eliminate all folds
|zF| zF create a fold for N lines
|zM| zM set 'foldlevel' to zero
|zN| zN set 'foldenable'
|zR| zR set 'foldlevel' to the deepest fold
|zX| zX re-apply 'foldlevel'
|za| za open a closed fold, close an open fold
|zd| zd delete a fold