Back to Spacevim

Multiple cursor support for Vim

docs/_posts/2022-04-08-multiple-cursor-support-with-iedit.md

2.4.01.0 KB
Original Source

Blogs >> Multiple cursor support for Vim

{{ page.date | date_to_string }}

<!-- vim-markdown-toc GFM --> <!-- vim-markdown-toc -->

Design causes

Many times in order to quickly edit multiple pieces of the same content, SpaceVim implements a feature called iedit, which is same as the iedit-mode of emacs.

Mode introduction

With iedit enabled, there are two modes currently, called iedit-normal and iedit-insert. These two modes are somewhat similar to the regular Normal and Insert modes. In iedit-normal mode, you can move the cursor, delete content and paste content. In iedit-insert mode, you can input characters. With the core#statusline layer, the IEDIT-NORMAL or IEDIT-INSERT modu text can be seen on the statusline.

About documentation

You can read online doc: Replace text with iedit, or read :h spacevim-plugins-iedit in SpaceVim