Tweaked the tagbar and added a screenshot to the README

This commit is contained in:
Kevin 2014-04-09 15:39:22 -04:00
parent ff9170f996
commit b32bb4504c
3 changed files with 6 additions and 3 deletions

View file

@ -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. * 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. * 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 ## ## Installation ##
1. Clone the darkcloud-vimconfig repo and use the __update__ script to install the plugins: 1. Clone the darkcloud-vimconfig repo and use the __update__ script to install the plugins:

View file

@ -325,7 +325,7 @@
inoremap <expr><silent> <C-F7> '<Esc>:Extradite<CR>:wincmd x<CR>:wincmd j<CR>:resize 10<CR>' 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 "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' xnoremap <silent><expr> <F8> '<Esc>:TagbarToggle<CR>v'
inoremap <silent><expr> <F8> '<C-O>:TagbarToggle<CR>' inoremap <silent><expr> <F8> '<C-O>:TagbarToggle<CR>'

View file

@ -114,8 +114,9 @@
endif endif
let g:tagbar_sort=0 let g:tagbar_sort=0
let g:tagbar_compact=1
let g:tagbar_singleclick=1 let g:tagbar_singleclick=1
let g:tagbar_width=27 let g:tagbar_width=35
"}}} "}}}
"VIM FILER: {{{ "VIM FILER: {{{
@ -209,7 +210,7 @@
let g:tagbar_status_func = 'TagbarStatusFunc' let g:tagbar_status_func = 'TagbarStatusFunc'
function! TagbarStatusFunc(current, sort, fname, ...) abort function! TagbarStatusFunc(current, sort, fname, ...) abort
let g:lightline.fname = a:fname let g:lightline.fname = 'tags' "a:fname
return lightline#statusline(0) return lightline#statusline(0)
endfunction endfunction