update
This commit is contained in:
parent
f157f22f1e
commit
b8941dfaf4
17
.vimrc
17
.vimrc
@ -213,6 +213,8 @@ Plugin 'iamcco/mathjax-support-for-mkdp'
|
||||
Plugin 'iamcco/markdown-preview.vim'
|
||||
Plugin 'jiangmiao/auto-pairs'
|
||||
Plugin 'scrooloose/nerdtree'
|
||||
Plugin 'tiagofumo/vim-nerdtree-syntax-highlight'
|
||||
Plugin 'Xuyuanp/nerdtree-git-plugin'
|
||||
Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
|
||||
Plugin 'rkulla/pydiction'
|
||||
Plugin 'Valloric/MatchTagAlways'
|
||||
@ -229,7 +231,6 @@ Plugin 'majutsushi/tagbar'
|
||||
Plugin 'octol/vim-cpp-enhanced-highlight'
|
||||
Plugin 'vim-airline/vim-airline'
|
||||
Plugin 'vim-airline/vim-airline-themes'
|
||||
Plugin 'tiagofumo/vim-nerdtree-syntax-highlight'
|
||||
Plugin 'vim-scripts/a.vim'
|
||||
Plugin 'vim-scripts/DoxygenToolkit.vim'
|
||||
Plugin 'vim-scripts/txt.vim'
|
||||
@ -396,6 +397,20 @@ nmap <Leader><Leader>il :IndentLinesToggle<CR>
|
||||
let g:pydiction_location='~/.vim/bundle/pydiction/complete-dict'
|
||||
let g:pydiction_menu_height=10
|
||||
|
||||
" nerdtree-git-plugin
|
||||
let g:NERDTreeIndicatorMapCustom = {
|
||||
\ "Modified" : "✹",
|
||||
\ "Staged" : "✚",
|
||||
\ "Untracked" : "✭",
|
||||
\ "Renamed" : "➜",
|
||||
\ "Unmerged" : "═",
|
||||
\ "Deleted" : "✖",
|
||||
\ "Dirty" : "✗",
|
||||
\ "Clean" : "✔︎",
|
||||
\ 'Ignored' : '☒',
|
||||
\ "Unknown" : "?"
|
||||
\ }
|
||||
|
||||
" 个性化
|
||||
if filereadable(expand($HOME . '/.vimrc.local'))
|
||||
source $HOME/.vimrc.local
|
||||
|
||||
@ -103,6 +103,7 @@ An automatic configuration program for vim
|
||||
| [vim-fugitive][36] | 集成Git |
|
||||
| [vim-slash][50] | 优化搜索,移动光标后清除高亮 |
|
||||
| [vim-nerdtree-syntax-highlight][52] | NerdTree文件类型高亮 |
|
||||
| [nerdtree-git-plugin][53] | NerdTree显示git状态 |
|
||||
|
||||
|
||||
快捷键
|
||||
@ -262,3 +263,4 @@ Q & A
|
||||
[50]: https://github.com/junegunn/vim-slash
|
||||
[51]: https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/DejaVuSansMono
|
||||
[52]: https://github.com/tiagofumo/vim-nerdtree-syntax-highlight
|
||||
[53]: https://github.com/Xuyuanp/nerdtree-git-plugin
|
||||
|
||||
Loading…
Reference in New Issue
Block a user