added tagbar to vim
This commit is contained in:
parent
2b2798e6c2
commit
cbbebbe60b
1 changed files with 3 additions and 0 deletions
3
.vimrc
3
.vimrc
|
|
@ -7,6 +7,7 @@ call plug#begin()
|
|||
Plug 'flazz/vim-colorschemes'
|
||||
Plug 'vim-python/python-syntax'
|
||||
Plug 'preservim/nerdtree'
|
||||
Plug 'preservim/tagbar'
|
||||
call plug#end()
|
||||
|
||||
" desert feral gentooish grb256 jellygrass kalt last256 matrix
|
||||
|
|
@ -113,6 +114,8 @@ map <C-n> :NERDTreeToggle<CR>
|
|||
" close vim if the only window left open is a NERDTree
|
||||
"autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif
|
||||
|
||||
nmap <F8> :TagbarToggle<CR>
|
||||
|
||||
" Remember position in file
|
||||
if has("autocmd")
|
||||
au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue