Skip to content

Commit

Permalink
update help
Browse files Browse the repository at this point in the history
  • Loading branch information
chxuan committed May 22, 2018
1 parent 0bd70cf commit e6e74fb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
5 changes: 4 additions & 1 deletion .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,12 @@ runtime macros/matchit.vim
" 编辑vimrc文件
nnoremap <leader>e :edit $MYVIMRC<cr>
" 查看help文件
" 查看vimplus的help文件
nnoremap <leader>h :edit ~/.vimplus/help.md<cr>
" 在vim帮助文档里搜索当前光标所在关键字
nnoremap <leader>H :execute ":h " . expand("<cword>")<cr>
" 重新加载vimrc文件
nnoremap <leader>s :source $MYVIMRC<cr>
Expand Down
13 changes: 7 additions & 6 deletions help.md
Original file line number Diff line number Diff line change
Expand Up @@ -292,9 +292,10 @@
其他
------------

| 快捷键 | 说明 |
| ------- | ----- |
| `vim -u NONE -N` | 开启vim时不加载vimrc文件 |
| `<leader>e` | 快速编辑vimrc文件 |
| `<leader>s` | 重新加载vimrc文件 |
| `<leader>h` | 打开vimplus帮助文档 |
| 快捷键 | 说明 |
| ------- | ----- |
| `vim -u NONE -N` | 开启vim时不加载vimrc文件 |
| `<leader>e` | 快速编辑vimrc文件 |
| `<leader>s` | 重新加载vimrc文件 |
| `<leader>h` | 打开vimplus帮助文档 |
| `<leader>H` | 在vim帮助文档里搜索当前光标所在关键字 |

0 comments on commit e6e74fb

Please sign in to comment.