diff options
| author | czjstmax <jstmaxlol@disroot.org> | 2026-04-17 01:18:39 +0200 |
|---|---|---|
| committer | czjstmax <jstmaxlol@disroot.org> | 2026-04-17 01:18:39 +0200 |
| commit | 044f2fd7f9bf4cf0f6947fbe3f9aa3c40c3a5196 (patch) | |
| tree | f1c8b9e9e5072a168f0fcf91f547b58fa39e9b97 /cfg/.vimrc | |
| parent | 5ec126e4dd3f691ff3066d328d73010b7eca3788 (diff) | |
updated .vimrc (added top bar)
Diffstat (limited to 'cfg/.vimrc')
| -rw-r--r-- | cfg/.vimrc | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -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> |