add vim-replace

This commit is contained in:
chxuan 2018-06-09 16:05:45 +08:00
parent 9b26c084a0
commit 3dc4f700e1
3 changed files with 17 additions and 15 deletions

3
.vimrc
View File

@ -209,9 +209,6 @@ nnoremap <c-n> :NextBuffer<cr>
nnoremap <leader>d :CloseCurrentBuffer<cr>
nnoremap <leader>D :BufOnly<cr>
" vim-replace
nnoremap <leader>r :ReplaceText<cr>
" nerdtree
nnoremap <silent> <leader>n :NERDTreeToggle<cr>
inoremap <silent> <leader>n <esc> :NERDTreeToggle<cr>

View File

@ -76,6 +76,7 @@ An automatic configuration program for vim
| [change-colorscheme][27] | 随心所欲切换主题(I'm author:smile:) |
| [prepare-code][67] | 新建文件时,生成预定义代码片段(I'm author:smile:) |
| [vim-buffer][70] | vim缓存操作(I'm author:smile:) |
| [vim-replace][72] | 方便的文本替换插件(I'm author:smile:) |
| [vimplus-startify][66] | vimplus开始页面(修改自[mhinz/vim-startify][25]) |
| [vim-plug][4] | 比[Vundle][54]下载更快的插件管理软件 |
| [YouCompleteMe][5] | 史上最强大的基于语义的自动补全插件支持C/C++、C#、Python、PHP等语言 |
@ -299,3 +300,4 @@ Q & A
[69]: https://github.com/rhysd/github-complete.vim
[70]: https://github.com/chxuan/vim-buffer
[71]: https://raw.githubusercontent.com/chxuan/cppfun/master/screenshots/cppfun.gif
[72]: https://github.com/chxuan/vim-replace

27
help.md
View File

@ -31,6 +31,7 @@
| `<F10>` | 显示下一主题 |
| `<leader>l` | 按竖线对齐 |
| `<leader>=` | 按等号对齐 |
| `rr` | 替换文本 |
| `gcc` | 注释代码 |
| `gcap` | 注释段落 |
| `vif` | 选中函数内容 |
@ -282,18 +283,20 @@
帮助
------------
| 快捷键 | 说明 |
| ------- | ----- |
| `h tutor` | 入门文档 |
| `h quickref` | 快速帮助 |
| `h index` | 查询Vim所有键盘命令定义 |
| `h summary` | 帮助你更好的使用内置帮助系统 |
| `h pattern.txt` | 正则表达式帮助 |
| `h eval` | 脚本编写帮助 |
| `h function-list` | 查看VimScript的函数列表 |
| `h windows.txt` | 窗口使用帮助 |
| `h tabpage.txt` | 标签页使用帮助 |
| `h tips` | 查看Vim内置的常用技巧文档 |
| 快捷键 | 说明 |
| ------- | ----- |
| `h tutor` | 入门文档 |
| `h quickref` | 快速帮助 |
| `h index` | 查询Vim所有键盘命令定义 |
| `h summary` | 帮助你更好的使用内置帮助系统 |
| `h pattern.txt` | 正则表达式帮助 |
| `h eval` | 脚本编写帮助 |
| `h function-list` | 查看VimScript的函数列表 |
| `h windows.txt` | 窗口使用帮助 |
| `h tabpage.txt` | 标签页使用帮助 |
| `h tips` | 查看Vim内置的常用技巧文档 |
| `h quote` | 寄存器 |
| `h autocommand-events` | 所有可能事件 |
其他