made the switch to vim airline
This commit is contained in:
1 parent
0f8b99fd07
commit
3eb50cbdec
1 file changed
+25
-21
@@ -175,27 +175,31 @@ let Tlist_GainFocus_On_ToggleOpen = 1
|
|||||||
Bundle 'saltstack/salt-vim'
|
Bundle 'saltstack/salt-vim'
|
||||||
Bundle 'vim-scripts/wombat256.vim'
|
Bundle 'vim-scripts/wombat256.vim'
|
||||||
colorscheme wombat256mod " needs to be after the bundle
|
colorscheme wombat256mod " needs to be after the bundle
|
||||||
Bundle 'itchyny/lightline.vim'
|
" Bundle 'itchyny/lightline.vim'
|
||||||
let g:lightline = {
|
" let g:lightline = {
|
||||||
\ 'colorscheme': 'wombat',
|
" \ 'colorscheme': 'wombat',
|
||||||
\ 'active': {
|
" \ 'active': {
|
||||||
\ 'left': [ [ 'mode', 'paste' ],
|
" \ 'left': [ [ 'mode', 'paste' ],
|
||||||
\ [ 'filename', 'fugitive', 'modified' ]
|
" \ [ 'filename', 'fugitive', 'modified' ]
|
||||||
\ ]
|
" \ ]
|
||||||
\ },
|
" \ },
|
||||||
\ 'component': {
|
" \ 'component': {
|
||||||
\ 'modified': '%{&filetype=="help"?"":&modified?"+":&modifiable?"":"-"}'
|
" \ 'modified': '%{&filetype=="help"?"":&modified?"+":&modifiable?"":"-"}'
|
||||||
\ },
|
" \ },
|
||||||
\ 'component_function': {
|
" \ 'component_function': {
|
||||||
\ 'fugitive': 'MyFugitive',
|
" \ 'fugitive': 'MyFugitive',
|
||||||
\ },
|
" \ },
|
||||||
\ 'component_visible_condition': {
|
" \ 'component_visible_condition': {
|
||||||
\ 'modified': '(&filetype!="help"&&(&modified||!&modifiable))'
|
" \ 'modified': '(&filetype!="help"&&(&modified||!&modifiable))'
|
||||||
\ }
|
" \ }
|
||||||
\ }
|
" \ }
|
||||||
function! MyFugitive()
|
" function! MyFugitive()
|
||||||
return exists('*fugitive#head') && strlen(fugitive#head()) ? 'ᓯ '.fugitive#head() : ''
|
" return exists('*fugitive#head') && strlen(fugitive#head()) ? 'ᓯ '.fugitive#head() : ''
|
||||||
endfunction
|
" endfunction
|
||||||
|
Bundle 'bling/vim-airline'
|
||||||
|
let g:airline#extensions#tabline#enabled = 1
|
||||||
|
let g:airline_left_sep = ''
|
||||||
|
let g:airline_right_sep = ''
|
||||||
Bundle 'goldfeld/vim-seek'
|
Bundle 'goldfeld/vim-seek'
|
||||||
let g:seek_subst_disable = 1
|
let g:seek_subst_disable = 1
|
||||||
let g:seek_enable_jumps = 1
|
let g:seek_enable_jumps = 1
|
||||||
|
|||||||
Reference in new issue
Block a user