From 044f2fd7f9bf4cf0f6947fbe3f9aa3c40c3a5196 Mon Sep 17 00:00:00 2001 From: czjstmax Date: Fri, 17 Apr 2026 01:18:39 +0200 Subject: updated .vimrc (added top bar) --- cfg/.vimrc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'cfg') 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 t :enew +nnoremap q :BufferLinePickClose +nnoremap :BufferLineCycleNext +nnoremap :BufferLineCyclePrev +nnoremap pick :BufferLinePick + " -------- 'd --------- " disable BIG jumps everywhere (shift+up / shift+down act like plain arrows) map -- cgit v1.3.1