[nvim] Added config for barbar

This commit is contained in:
Alyxia Sother 2021-07-04 19:00:09 +02:00
parent 3b7d90a91c
commit 19abbf2c5b
No known key found for this signature in database
GPG Key ID: 355968D14144B739
1 changed files with 9 additions and 0 deletions

9
nvim/plugin/barbar.vim Normal file
View File

@ -0,0 +1,9 @@
let bufferline = get(g:, 'bufferline', {})
let bufferline.icons = 'both'
" Navigating buffers
nnoremap <silent> <A-,> :BufferPrevious<CR>
nnoremap <silent> <A-.> :BufferNext<CR>
nnoremap <silent> <A-s> :BufferPick<CR>
nnoremap <silent> <A-c> :BufferClose<CR>