From b32bb4504c03ae6a8143558f06733840a23741b5 Mon Sep 17 00:00:00 2001 From: Kevin Date: Wed, 9 Apr 2014 15:39:22 -0400 Subject: [PATCH] Tweaked the tagbar and added a screenshot to the README --- README.md | 2 ++ vim/config/keyboard.vim | 2 +- vim/config/plugins.vim | 5 +++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8cc79da..a4b77e8 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/vim/config/keyboard.vim b/vim/config/keyboard.vim index 972e1d7..81bfc59 100644 --- a/vim/config/keyboard.vim +++ b/vim/config/keyboard.vim @@ -325,7 +325,7 @@ inoremap ':Extradite:wincmd x:wincmd j:resize 10' "bindings to trigger the tagbar list of tags - nnoremap ':TagbarToggle:echo "code tagbar toggled"' + nnoremap ':TagbarToggle:echo "tagbar toggled"' xnoremap ':TagbarTogglev' inoremap ':TagbarToggle' diff --git a/vim/config/plugins.vim b/vim/config/plugins.vim index 5464ca3..6b017d1 100644 --- a/vim/config/plugins.vim +++ b/vim/config/plugins.vim @@ -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