Remove Gundo
This commit is contained in:
parent
7f88a31484
commit
1176202dde
@ -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
|
||||
|
||||
|
2
vimrc
2
vimrc
@ -79,7 +79,6 @@ map <C-j> <C-w><Down>
|
||||
map <C-l> <C-w><Right>
|
||||
map <C-h> <C-w><Left>
|
||||
|
||||
map <F2> :GundoToggle<CR>
|
||||
map <F3> :call ToggleSpell()<CR>
|
||||
map <F5> :NERDTreeTabsToggle<CR>
|
||||
map <F6> :TagbarToggle<CR>
|
||||
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user