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