120

Iedit mode by wsdjeg · Pull Request #1258 · SpaceVim/SpaceVim · GitHub

 6 years ago
source link: https://github.com/SpaceVim/SpaceVim/pull/1258
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Member

wsdjeg

commented

Jan 9, 2018

edited
iedit states key bindings

State transitions:

Key Binding From to
SPC s e normal or visual iedit-Normal

In iedit-Normal mode:

iedit-Normal mode inherits from Normal mode, the following key bindings are specific to iedit-Normal mode.

Key Binding Description
Esc go back to Normal mode
i switch to iedit-Insert mode, same as i
a switch to iedit-Insert mode, same as a
I go to the beginning of the current occurrence and switch to iedit-Insert mode
A go to the end of the current occurrence and switch to iedit-Insert mode
<Left> Move cursor to left
<Right> Move cursor to right
0 go to the beginning of the current occurrence
$ go to the end of the current occurrence
D delete the occurrences
S delete the occurrences and switch to iedit-Insert mode
gg go to first occurrence
G go to last occurrence
n go to next occurrence
N go to previous occurrence

In iedit-Insert mode:

Key Binding Description
Esc go back to iedit-Normal mode
<Left> Move cursor to left
<Right> Move cursor to right
<C-w> delete words before cursor
<C-K> delete words after cursor

2018-01-11-22-19-27

2018-01-10-22-14-24


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK