-
-
Notifications
You must be signed in to change notification settings - Fork 2
3.2. Insert Mode
shinokada edited this page Feb 2, 2014
·
1 revision
This works in the bash shell as well.
<C-h> # delete back one character
<C-w> # Delete back one word
<C-u> # Delete back to start of line
<Esc>
<C-[> # to Normal mode
<C-o> # to Insert Normal mode
<C-c> # same as <Esc>
gi # switches to insertion mode placeing the cursor at the same location it was previously.
g; # jump to the last place you made an edit
yt, # yank till ,
jA # move down and Append a spece. Note a space after A
<C-r>0 # to paste the text which yanked. Register 0 is for yanked.
You can use a regster to yank. <C-r>{register}
.
<C-r><C-p>{register}
inserts text and fixes any unintended indentation. See :h i_CTRL-R_CRTL-p
. But it is better to use registers.
Important: The Tables of Content are generated. Any change will be overridden on the next update.
For more information: GitHub Wikifier