summaryrefslogtreecommitdiff
path: root/cfg/.vimrc
diff options
context:
space:
mode:
authorczjstmax <jstmaxlol@disroot.org>2026-04-17 01:18:39 +0200
committerczjstmax <jstmaxlol@disroot.org>2026-04-17 01:18:39 +0200
commit044f2fd7f9bf4cf0f6947fbe3f9aa3c40c3a5196 (patch)
treef1c8b9e9e5072a168f0fcf91f547b58fa39e9b97 /cfg/.vimrc
parent5ec126e4dd3f691ff3066d328d73010b7eca3788 (diff)
updated .vimrc (added top bar)
Diffstat (limited to 'cfg/.vimrc')
-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>