bufferline.nvim
This commit is contained in:
parent
3ed8abce54
commit
a54a5a83f9
@ -23,6 +23,12 @@ set encoding=utf-8
|
||||
|
||||
set foldmethod=syntax
|
||||
|
||||
if exists('+termguicolors')
|
||||
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
|
||||
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
|
||||
set termguicolors
|
||||
endif
|
||||
|
||||
" Use whitespace instead of tab
|
||||
set expandtab
|
||||
|
||||
|
@ -20,6 +20,10 @@ nmap <F3> :Buffers<CR>
|
||||
imap <F3> <ESC><ESC>:Buffers<CR>
|
||||
vmap <F3> <ESC><ESC>:Buffers<CR>
|
||||
|
||||
" Bufferline.nvim
|
||||
nnoremap <silent>[b :BufferLineCyclePrev<CR>
|
||||
nnoremap <silent>]b :BufferLineCycleNext<CR>
|
||||
|
||||
" Nerdtree
|
||||
nmap <silent> <F2> <ESC>:NERDTreeToggle<CR>
|
||||
|
||||
|
@ -12,11 +12,21 @@ let g:airline_symbols.linenr = ''
|
||||
let g:airline#extensions#tabline#left_sep=''
|
||||
let g:airline#extensions#tabline#left_alt_sep=''
|
||||
let g:airline_symbols.maxlinenr = ''
|
||||
let g:airline#extensions#tabline#enabled = 1
|
||||
let g:airline#extensions#tabline#enabled = 0
|
||||
let g:airline#extensions#wordcount#enabled = 1
|
||||
let g:airline_theme="minimalist"
|
||||
|
||||
|
||||
" bufferline.nvim
|
||||
set termguicolors
|
||||
lua << EOF
|
||||
require("bufferline").setup {
|
||||
options = {
|
||||
diagnostics = "coc",
|
||||
}
|
||||
}
|
||||
EOF
|
||||
|
||||
" GitGutter
|
||||
autocmd TextChanged * GitGutter
|
||||
|
||||
|
@ -83,6 +83,8 @@ Plug 'hashivim/vim-terraform'
|
||||
" KIT-Color-Scheme
|
||||
Plug 'taDachs/kit.vim', {'commit': 'dae7c4a0ce37e8ffc4bd1dfcc68f8ea01d572e9e'}
|
||||
|
||||
Plug 'altercation/vim-colors-solarized'
|
||||
|
||||
|
||||
" Git integration
|
||||
Plug 'airblade/vim-gitgutter'
|
||||
@ -99,4 +101,6 @@ Plug 'rad4day/vim-ripgrep'
|
||||
|
||||
Plug 'github/copilot.vim'
|
||||
|
||||
Plug 'akinsho/bufferline.nvim', { 'tag': 'v2.2.1' }
|
||||
|
||||
call plug#end()
|
||||
|
Loading…
Reference in New Issue
Block a user