Iedit mode provides multiple cursor support in vim. It is not same as vim-multiple-cursor, It provides two modes. Iedit-Normal and Iedit-Insert mode.

I have used vim-multiple-cursor for long time, but sometimes it is two slow. And the implementation of iedit mode is quite different. We use getline and setline instead.

In SpaceVim, you can use SPC s e to start a iedit mode, you can move cursor via h / l , S is to delete the symbles. Use i and a to start iedit-Insert mode. <ESC> is for exit iedit-Normal mode.

In iedit-Insert mode, the key bindings is:

<C-w> delect the word before cursor;

<esc> switch to iedit-Normal mode;

<C-u> delete content before cursor;

<C-k> delete content after cursor;

<BS> delete char before cursor;

<Delete> delete char after cursor;

yeah, you will find these key bindings are same as vim’s origin key bindings. It will be easy to remember and undestand.

Iedit mode provides open API for external usage. For example, In SpaceVim, we can start iedit mode from highlight symbles mode. When highght symbles, key r is for change range (within function, within display, whole buffer). All other key bindings are list below current windows.

SpaceVim is an open source project in Github, feel free to have a try. If you encounter any issue, please use our community channel, gitter or IRC: #spacevim in freenode.

You can also check our website for more post about new features.