Fix vim tabs, change bufferline text
This commit is contained in:
@@ -8,6 +8,7 @@ set viminfo+=n~/.cache/vim_history
|
||||
"" General
|
||||
|
||||
filetype plugin on
|
||||
syntax on
|
||||
|
||||
" Behavior
|
||||
set clipboard=unnamedplus
|
||||
@@ -29,13 +30,14 @@ set background=dark
|
||||
colorscheme hybrid_reverse
|
||||
|
||||
set cursorline
|
||||
autocmd! ColorScheme * hi clear CursorLine
|
||||
autocmd! ColorScheme * highlight clear CursorLine
|
||||
|
||||
" Indentation
|
||||
set autoindent
|
||||
filetype indent on
|
||||
|
||||
set backspace=indent,eol,start
|
||||
set noexpandtab
|
||||
set shiftround
|
||||
set tabstop=4
|
||||
set softtabstop=4
|
||||
@@ -55,9 +57,10 @@ let g:lightline.separator = {'left': "\ue0b0", 'right': "\ue0b2"}
|
||||
let g:lightline.subseparator = {'left': "\ue0b1", 'right': "\ue0b3"}
|
||||
|
||||
" lightline-bufferline
|
||||
let g:lightline.tabline = {'left': [['buffers']], 'right': [['close']]}
|
||||
let g:lightline.tabline = {'left': [['buffers']], 'right': [['text']]}
|
||||
let g:lightline.component_expand = {'buffers': 'lightline#bufferline#buffers'}
|
||||
let g:lightline.component_type = {'buffers': 'tabsel'}
|
||||
let g:lightline.component = {'text': 'buffers'}
|
||||
|
||||
let g:lightline#bufferline#min_buffer_count = 2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user