add vim-edit plugin

This commit is contained in:
chxuan 2018-07-19 21:30:00 +08:00
parent 13e6fc76a0
commit 68ec2ceaae
2 changed files with 3 additions and 6 deletions

5
.vimrc
View File

@ -91,7 +91,6 @@ Plug 'chxuan/cpp-mode'
Plug 'chxuan/change-colorscheme'
Plug 'chxuan/prepare-code'
Plug 'chxuan/vim-buffer'
Plug 'chxuan/vim-replace'
Plug 'chxuan/vim-edit'
Plug 'chxuan/vimplus-startify'
Plug 'chxuan/tagbar'
@ -201,9 +200,6 @@ inoremap <silent> <F12> <esc> :ShowColorScheme<cr>
" prepare-code
let g:prepare_code_plugin_path = expand($HOME . "/.vim/plugged/prepare-code")
" vim-replace
nnoremap <leader>r :ReplaceTo<space>
" vim-buffer
nnoremap <silent> <c-p> :PreviousBuffer<cr>
nnoremap <silent> <c-n> :NextBuffer<cr>
@ -214,6 +210,7 @@ nnoremap <silent> <leader>D :BufOnly<cr>
nnoremap Y :CopyText<cr>
nnoremap D :DeleteText<cr>
nnoremap C :ChangeText<cr>
nnoremap <leader>r :ReplaceTo<space>
" nerdtree
nnoremap <silent> <leader>n :NERDTreeToggle<cr>

View File

@ -74,7 +74,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:) |
| [vim-edit][72] | 方便的文本编辑插件(I'm author:smile:) |
| [vimplus-startify][66] | vimplus开始页面(修改自[mhinz/vim-startify][25]) |
| [tagbar][74] | 使用[majutsushi/tagbar][13]的v2.3版本,[taglist][14]的替代品,显示类/方法/变量 |
| [vim-plug][4] | 比[Vundle][54]下载更快的插件管理软件 |
@ -294,6 +294,6 @@ An automatic configuration program for vim
[69]: https://github.com/rhysd/github-complete.vim
[70]: https://github.com/chxuan/vim-buffer
[71]: https://raw.githubusercontent.com/chxuan/cpp-mode/master/screenshots/cpp-mode.gif
[72]: https://github.com/chxuan/vim-replace
[72]: https://github.com/chxuan/vim-edit
[73]: https://github.com/yianwillis/vimcdoc
[74]: https://github.com/chxuan/tagbar