diff --git a/docs/_posts/2022-04-09-multiple-cursor-support-with-iedit.md b/docs/_posts/2022-04-09-multiple-cursor-support-with-iedit.md new file mode 100644 index 000000000..883a7a750 --- /dev/null +++ b/docs/_posts/2022-04-09-multiple-cursor-support-with-iedit.md @@ -0,0 +1,39 @@ +--- +title: "Vim 多光标支持" +categories: [blog_cn, feature_cn] +description: "" +image: https://user-images.githubusercontent.com/13142418/162548036-2598a705-4834-4332-9b55-fc49eae80f99.gif +commentsID: "Vim 多光标支持" +comments: true +permalink: /cn/:title/ +lang: zh +--- + +# [Blogs](../blog/) >> Vim 多光标支持 + +{{ page.date | date_to_string }} + + + + +- [起因](#起因) +- [模式介绍](#模式介绍) +- [关于文档](#关于文档) + + + +## 起因 + +很多时候为了能够快速编辑多个相同的内容,因此 SpaceVim 实现了一个叫做 `iedit` 的功能, +有些类似于 emacs 的 iedit-mode 插件。 + +## 模式介绍 + +启动 iedit 后,目前支持2种模式,叫做 iedit-normal 和 iedit-insert 模式, +这两种模式有点类似于常规的 Normal 和 Insert 模式。在 iedit-normal 模式下, +可以已启动光标删除内容,粘贴内容。而在 iedit-insert 模式下,主要是输入字符。 +配合 `core#statusline` 模块,在状态栏上面可以看见 `IEDIT-NORMAL` 或者 `IEDIT-INSERT` 标识。 + +## 关于文档 + +可以在线阅读[Iedit-多光标编辑](../#iedit-多光标编辑),或者在 SpaceVim 内阅读 `:h SpaceVim-plugins-iedit` diff --git a/docs/_posts/2022-04-10-multiple-cursor-support-with-iedit.md b/docs/_posts/2022-04-10-multiple-cursor-support-with-iedit.md new file mode 100644 index 000000000..d24aa25bb --- /dev/null +++ b/docs/_posts/2022-04-10-multiple-cursor-support-with-iedit.md @@ -0,0 +1,38 @@ +--- +title: "Multiple cursor support for Vim" +categories: [blog, feature] +description: "" +image: https://user-images.githubusercontent.com/13142418/162548036-2598a705-4834-4332-9b55-fc49eae80f99.gif +commentsID: "Multiple cursor support for Vim" +comments: true +permalink: /cn/:title/ +--- + +# [Blogs](../blog/) >> Multiple cursor support for Vim + +{{ page.date | date_to_string }} + + + + +- [Design causes](#design-causes) +- [Mode introduction](#mode-introduction) +- [About documentation](#about-documentation) + + + +## 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](../documentation/#replace-text-with-iedit), or read `:h spacevim-plugins-iedit` in SpaceVim