Skip to content

Commit

Permalink
update help
Browse files Browse the repository at this point in the history
  • Loading branch information
chxuan committed May 26, 2018
1 parent 0270fa5 commit d84ecb9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,11 @@ nnoremap <leader>H :execute ":help " . expand("<cword>")<cr>
" 重新加载vimrc文件
nnoremap <leader>s :source $MYVIMRC<cr>
" 安装、更新、删除插件
nnoremap <leader><leader>i :PlugInstall<cr>
nnoremap <leader><leader>u :PlugUpdate<cr>
nnoremap <leader><leader>c :PlugClean<cr>
" buffer切换
nnoremap <c-n> :bn<cr>
nnoremap <c-p> :bp<cr>
Expand Down
17 changes: 10 additions & 7 deletions help.md
Original file line number Diff line number Diff line change
Expand Up @@ -292,10 +292,13 @@
其他
------------

| 快捷键 | 说明 |
| ------- | ----- |
| `vim -u NONE -N` | 开启vim时不加载vimrc文件 |
| `<leader>e` | 快速编辑vimrc文件 |
| `<leader>s` | 重新加载vimrc文件 |
| `<leader>h` | 打开vimplus帮助文档 |
| `<leader>H` | 打开当前光标所在单词的vim帮助文档 |
| 快捷键 | 说明 |
| ------- | ----- |
| `vim -u NONE -N` | 开启vim时不加载vimrc文件 |
| `<leader>e` | 快速编辑vimrc文件 |
| `<leader>s` | 重新加载vimrc文件 |
| `<leader>h` | 打开vimplus帮助文档 |
| `<leader>H` | 打开当前光标所在单词的vim帮助文档 |
| `<leader><leader>i` | 安装插件 |
| `<leader><leader>u` | 更新插件 |
| `<leader><leader>c` | 删除插件 |

0 comments on commit d84ecb9

Please sign in to comment.