diff --git a/.vimrc b/.vimrc --- a/.vimrc +++ b/.vimrc @@ -66,6 +66,7 @@ end Plugin 'Shougo/unite.vim' Plugin 'Shougo/vimshell.vim' Plugin 'Shougo/vimfiler.vim' + Plugin 'Shougo/unite-session' Plugin 'sjl/gundo.vim' Plugin 'majutsushi/tagbar' Plugin 'godlygeek/tabular' @@ -101,8 +102,8 @@ end echo "" :PluginInstall if on_windows == 1 - " Windows build just isn't there with exec $0, so we already - " have some odd errors and get a weird UI at the end. + " Windows build just isn't there with exec $0, so we already have some + " odd errors and get a weird UI at the end. echo "Please restart vim to continue with plugins installed." quit endif @@ -115,15 +116,16 @@ end " F1 - Unite to switch buffers nmap :Unite -auto-resize -direction=dynamicbottom buffer " S-F1 - Unite to switch windows or tabs -nmap :Unite -winheight=5 -quick-match -short-source-names window tab:no-current +nmap :Unite -winheight=10 -quick-match -short-source-names window tab:no-current +nmap :Unite -winheight=10 session nmap :VimFilerExplorer nmap :VimShell map :noh nmap :GundoToggle nmap :TagbarToggle -" This is supposed to get a CtrlP workalike with fuzzy match -" but i need to fix ignores and always chdir to a good place +" This is supposed to get a CtrlP workalike with fuzzy match but i need to fix +" ignores and always chdir to a good place if on_windows == 1 nmap :Unite -start-insert file_rec:! else @@ -362,7 +364,6 @@ if executable('ag') let g:unite_source_grep_recursive_opt = '' endif - ">> vimfiler let g:vimfiler_as_default_explorer = 1 " double-click to edit