mirror of
https://github.com/prurigro/darkcloud-vimconfig.git
synced 2024-12-22 16:50:23 -05:00
Tweaked the tagbar and added a screenshot to the README
This commit is contained in:
parent
ff9170f996
commit
b32bb4504c
3 changed files with 6 additions and 3 deletions
|
@ -16,6 +16,8 @@
|
|||
* Key bindings and aliases to make useful features more accessible and provide a smoother work flow while attempting to vim's default behaviour while adding behaviour.
|
||||
* A selection of plugins chosen either because they improve vim's support for common filetypes, or because they provide value-added features that aren't bloated and manage to make vim more useful as a text editor.
|
||||
|
||||
->![Darkcloud Vim Distribution Theme](http://i.imgur.com/jP0EqeN.png)<-
|
||||
|
||||
## Installation ##
|
||||
|
||||
1. Clone the darkcloud-vimconfig repo and use the __update__ script to install the plugins:
|
||||
|
|
|
@ -325,7 +325,7 @@
|
|||
inoremap <expr><silent> <C-F7> '<Esc>:Extradite<CR>:wincmd x<CR>:wincmd j<CR>:resize 10<CR>'
|
||||
|
||||
"bindings to trigger the tagbar list of tags
|
||||
nnoremap <silent><expr> <F8> ':TagbarToggle<CR>:echo "code tagbar toggled"<CR>'
|
||||
nnoremap <silent><expr> <F8> ':TagbarToggle<CR>:echo "tagbar toggled"<CR>'
|
||||
xnoremap <silent><expr> <F8> '<Esc>:TagbarToggle<CR>v'
|
||||
inoremap <silent><expr> <F8> '<C-O>:TagbarToggle<CR>'
|
||||
|
||||
|
|
|
@ -114,8 +114,9 @@
|
|||
endif
|
||||
|
||||
let g:tagbar_sort=0
|
||||
let g:tagbar_compact=1
|
||||
let g:tagbar_singleclick=1
|
||||
let g:tagbar_width=27
|
||||
let g:tagbar_width=35
|
||||
"}}}
|
||||
|
||||
"VIM FILER: {{{
|
||||
|
@ -209,7 +210,7 @@
|
|||
|
||||
let g:tagbar_status_func = 'TagbarStatusFunc'
|
||||
function! TagbarStatusFunc(current, sort, fname, ...) abort
|
||||
let g:lightline.fname = a:fname
|
||||
let g:lightline.fname = 'tags' "a:fname
|
||||
return lightline#statusline(0)
|
||||
endfunction
|
||||
|
||||
|
|
Loading…
Reference in a new issue