diff --git a/lightline.vim b/lightline.vim index c27399e..574bf1b 100644 --- a/lightline.vim +++ b/lightline.vim @@ -31,7 +31,7 @@ let g:lightline = { \ } function! Fugitive() - if &ft !~? 'gundo\|tagbar' && exists("*fugitive#head") + if &ft !~? 'tagbar' && exists("*fugitive#head") let _ = fugitive#head() return strlen(_) ? "μ "._ : "" endif @@ -70,8 +70,6 @@ function! Mode() let fname = expand("%:t") return fname == "__Tagbar__" ? "Tagbar" : \ fname == "ControlP" ? "CtrlP" : - \ fname == "__Gundo__" ? "Gundo" : - \ fname == "__Gundo_Preview__" ? "Gundo Preview" : \ winwidth(0) > 60 ? lightline#mode() : "" endfunction diff --git a/vimrc b/vimrc index 74811e1..6c259f2 100644 --- a/vimrc +++ b/vimrc @@ -79,7 +79,6 @@ map map map -map :GundoToggle map :call ToggleSpell() map :NERDTreeTabsToggle map :TagbarToggle @@ -97,7 +96,6 @@ Plugin 'VundleVim/Vundle.vim' Plugin 'kien/ctrlp.vim' Plugin 'townk/vim-autoclose' Plugin 'tpope/vim-fugitive' -Plugin 'sjl/gundo.vim' Plugin 'itchyny/lightline.vim' Plugin 'tpope/vim-markdown' Plugin 'ervandew/supertab'