From 760c56d92c6bd31cd6a2a8dc84b2f7cffcc198b5 Mon Sep 17 00:00:00 2001 From: Riyyi Date: Thu, 5 Apr 2018 16:36:27 +0200 Subject: [PATCH] Fix vim tabs, change bufferline text --- etc/vimrc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/etc/vimrc b/etc/vimrc index 1e19c89..8042e70 100644 --- a/etc/vimrc +++ b/etc/vimrc @@ -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