Ditch lightline and other plugins
parent
a904509bfb
commit
1eff6ad74d
@ -1,26 +0,0 @@
|
|||||||
call dein#add('Shougo/deoplete.nvim')
|
|
||||||
call dein#add('Shougo/neosnippet')
|
|
||||||
call dein#add('christoomey/vim-tmux-navigator')
|
|
||||||
call dein#add('cocopon/lightline-hybrid.vim')
|
|
||||||
call dein#add('editorconfig/editorconfig-vim')
|
|
||||||
call dein#add('haya14busa/incsearch.vim')
|
|
||||||
call dein#add('itchyny/lightline.vim')
|
|
||||||
call dein#add('junegunn/fzf', { 'merged': 0 })
|
|
||||||
call dein#add('jiangmiao/auto-pairs')
|
|
||||||
call dein#add('junegunn/fzf.vim', { 'depends': 'fzf' })
|
|
||||||
call dein#add('junegunn/gv.vim')
|
|
||||||
call dein#add('justinmk/vim-sneak')
|
|
||||||
call dein#add('maxbrunsfeld/vim-yankstack')
|
|
||||||
call dein#add('sheerun/vim-polyglot')
|
|
||||||
call dein#add('tpope/vim-commentary')
|
|
||||||
call dein#add('tpope/vim-fugitive')
|
|
||||||
call dein#add('tpope/vim-ragtag')
|
|
||||||
call dein#add('tpope/vim-repeat')
|
|
||||||
call dein#add('tpope/vim-surround')
|
|
||||||
call dein#add('tpope/vim-unimpaired')
|
|
||||||
call dein#add('tpope/vim-vinegar')
|
|
||||||
call dein#add('w0ng/vim-hybrid')
|
|
||||||
call dein#add('w0rp/ale')
|
|
||||||
call dein#add('webgefrickel/vim-snippets')
|
|
||||||
call dein#add('wellle/targets.vim')
|
|
||||||
call dein#add('wellle/tmux-complete.vim')
|
|
@ -0,0 +1,23 @@
|
|||||||
|
function! GitBranch()
|
||||||
|
return system("git rev-parse --abbrev-ref HEAD 2>/dev/null | tr -d '\n'")
|
||||||
|
endfunction
|
||||||
|
|
||||||
|
function! StatuslineGit()
|
||||||
|
let l:branchname = GitBranch()
|
||||||
|
return strlen(l:branchname) > 0?' '.l:branchname.' ':''
|
||||||
|
endfunction
|
||||||
|
|
||||||
|
set statusline=
|
||||||
|
set statusline+=%#PmenuSel#
|
||||||
|
set statusline+=%{StatuslineGit()}
|
||||||
|
set statusline+=%#LineNr#
|
||||||
|
set statusline+=\ %f
|
||||||
|
set statusline+=%m\
|
||||||
|
set statusline+=%=
|
||||||
|
set statusline+=%#CursorColumn#
|
||||||
|
set statusline+=\ %y
|
||||||
|
set statusline+=\ %{&fileencoding?&fileencoding:&encoding}
|
||||||
|
set statusline+=\[%{&fileformat}\]
|
||||||
|
set statusline+=\ %p%%
|
||||||
|
set statusline+=\ %l:%c
|
||||||
|
set statusline+=\
|
Loading…
Reference in New Issue