Remove Gundo

This commit is contained in:
rnhmjoj 2015-10-10 17:38:24 +02:00
parent 7f88a31484
commit 1176202dde
2 changed files with 1 additions and 5 deletions

View File

@ -31,7 +31,7 @@ let g:lightline = {
\ } \ }
function! Fugitive() function! Fugitive()
if &ft !~? 'gundo\|tagbar' && exists("*fugitive#head") if &ft !~? 'tagbar' && exists("*fugitive#head")
let _ = fugitive#head() let _ = fugitive#head()
return strlen(_) ? "μ "._ : "" return strlen(_) ? "μ "._ : ""
endif endif
@ -70,8 +70,6 @@ function! Mode()
let fname = expand("%:t") let fname = expand("%:t")
return fname == "__Tagbar__" ? "Tagbar" : return fname == "__Tagbar__" ? "Tagbar" :
\ fname == "ControlP" ? "CtrlP" : \ fname == "ControlP" ? "CtrlP" :
\ fname == "__Gundo__" ? "Gundo" :
\ fname == "__Gundo_Preview__" ? "Gundo Preview" :
\ winwidth(0) > 60 ? lightline#mode() : "" \ winwidth(0) > 60 ? lightline#mode() : ""
endfunction endfunction

2
vimrc
View File

@ -79,7 +79,6 @@ map <C-j> <C-w><Down>
map <C-l> <C-w><Right> map <C-l> <C-w><Right>
map <C-h> <C-w><Left> map <C-h> <C-w><Left>
map <F2> :GundoToggle<CR>
map <F3> :call ToggleSpell()<CR> map <F3> :call ToggleSpell()<CR>
map <F5> :NERDTreeTabsToggle<CR> map <F5> :NERDTreeTabsToggle<CR>
map <F6> :TagbarToggle<CR> map <F6> :TagbarToggle<CR>
@ -97,7 +96,6 @@ Plugin 'VundleVim/Vundle.vim'
Plugin 'kien/ctrlp.vim' Plugin 'kien/ctrlp.vim'
Plugin 'townk/vim-autoclose' Plugin 'townk/vim-autoclose'
Plugin 'tpope/vim-fugitive' Plugin 'tpope/vim-fugitive'
Plugin 'sjl/gundo.vim'
Plugin 'itchyny/lightline.vim' Plugin 'itchyny/lightline.vim'
Plugin 'tpope/vim-markdown' Plugin 'tpope/vim-markdown'
Plugin 'ervandew/supertab' Plugin 'ervandew/supertab'