mirror of
https://github.com/srid/nixos-config.git
synced 2026-01-07 00:17:24 +08:00
nvim: bufferline
This commit is contained in:
parent
85999d253e
commit
380da7673a
1 changed files with 12 additions and 0 deletions
|
|
@ -21,6 +21,9 @@
|
|||
telescope-nvim
|
||||
telescope-zoxide
|
||||
|
||||
# Buffer tabs
|
||||
bufferline-nvim
|
||||
|
||||
nvim-hs-vim
|
||||
|
||||
# Language support
|
||||
|
|
@ -45,6 +48,15 @@
|
|||
lua << END
|
||||
require('lualine').setup()
|
||||
END
|
||||
|
||||
" bufferline
|
||||
lua << EOF
|
||||
require("bufferline").setup{}
|
||||
EOF
|
||||
nnoremap <silent>[b :BufferLineCycleNext<CR>
|
||||
nnoremap <silent>b] :BufferLineCyclePrev<CR>
|
||||
nnoremap <silent>be :BufferLineSortByExtension<CR>
|
||||
nnoremap <silent>bd :BufferLineSortByDirectory<CR>
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue