summaryrefslogtreecommitdiff
path: root/cfg
diff options
context:
space:
mode:
Diffstat (limited to 'cfg')
-rw-r--r--cfg/.vimrc15
1 files changed, 15 insertions, 0 deletions
diff --git a/cfg/.vimrc b/cfg/.vimrc
index b30e319..fe75055 100644
--- a/cfg/.vimrc
+++ b/cfg/.vimrc
@@ -97,6 +97,7 @@ call plug#begin()
Plug 'kylechui/nvim-surround'
Plug 'numToStr/Comment.nvim'
Plug 'nvim-lualine/lualine.nvim'
+ Plug 'akinsho/bufferline.nvim'
call plug#end()
" -------- 'P ---------
@@ -156,6 +157,20 @@ silent! color ashen
"silent! color monokai_pro
" -------- 'T ---------
+lua << EOF
+ require("bufferline").setup{
+ options = {
+ themable = true,
+ }
+ }
+EOF
+
+nnoremap <leader>t :enew<CR>
+nnoremap <leader>q :BufferLinePickClose<CR>
+nnoremap <Tab> :BufferLineCycleNext<CR>
+nnoremap <S-Tab> :BufferLineCyclePrev<CR>
+nnoremap <leader>pick :BufferLinePick<CR>
+
" -------- 'd ---------
" disable BIG jumps everywhere (shift+up / shift+down act like plain arrows)
map <S-Up> <Up>