Skip to content

Commit

Permalink
add vim-replace
Browse files Browse the repository at this point in the history
  • Loading branch information
chxuan committed Jun 9, 2018
1 parent 9b26c08 commit 3dc4f70
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 15 deletions.
3 changes: 0 additions & 3 deletions .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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等语言 |
Expand Down Expand Up @@ -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 changes: 15 additions & 12 deletions help.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
| `<F10>` | 显示下一主题 |
| `<leader>l` | 按竖线对齐 |
| `<leader>=` | 按等号对齐 |
| `rr` | 替换文本 |
| `gcc` | 注释代码 |
| `gcap` | 注释段落 |
| `vif` | 选中函数内容 |
Expand Down Expand Up @@ -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` | 所有可能事件 |


其他
Expand Down

0 comments on commit 3dc4f70

Please sign in to comment.