diff --git a/.vimrc b/.vimrc index 539699b..c83a7c2 100644 --- a/.vimrc +++ b/.vimrc @@ -133,6 +133,7 @@ Plug 'kana/vim-textobj-function' Plug 'sgur/vim-textobj-parameter' Plug 'Shougo/echodoc.vim' Plug 'terryma/vim-smooth-scroll' +Plug 'terryma/vim-expand-region' call plug#end() diff --git a/README.md b/README.md index cca57f8..b1e1386 100644 --- a/README.md +++ b/README.md @@ -107,6 +107,7 @@ An automatic configuration program for vim | [nerdtree-git-plugin][53] | NerdTree显示git状态 | | [echodoc][57] | 补全函数时在命令栏显示函数签名 | | [vim-smooth-scroll][60] | 让翻页更顺畅 | +| [vim-expand-region][61] | 快速选择区域 | 快捷键 @@ -143,6 +144,8 @@ An automatic configuration program for vim | `vaf` | 选中函数内容(包括函数名 花括号) | | `daf` | 删除函数内容(包括函数名 花括号) | | `caf` | 改写函数内容(包括函数名 花括号) | +| `+` | 逐渐增大选择区域 | +| `-` | 逐渐减小选择区域 | Q & A ------------ @@ -281,3 +284,4 @@ Q & A [58]: https://github.com/chxuan/cppfun [59]: https://github.com/chxuan/vimplus/blob/master/help.md [60]: https://github.com/terryma/vim-smooth-scroll + [61]: https://github.com/terryma/vim-expand-region diff --git a/help.md b/help.md index ef9396b..ac65850 100644 --- a/help.md +++ b/help.md @@ -30,6 +30,8 @@ | `vaf` | 选中函数内容(包括函数名 花括号) | | `daf` | 删除函数内容(包括函数名 花括号) | | `caf` | 改写函数内容(包括函数名 花括号) | +| `+` | 逐渐增大选择区域 | +| `-` | 逐渐减小选择区域 | 插入模式