cycle prev and next buffer

This commit is contained in:
2024-07-27 12:02:23 +02:00
parent a565f4683c
commit 1b8501a22c
2 changed files with 5 additions and 1 deletions
+3
View File
@@ -12,3 +12,6 @@ bufferline.setup({
},
}
})
vim.api.nvim_set_keymap('n', '<leader>[', ':BufferLineCyclePrev<CR>', { noremap = true, silent = true })
vim.api.nvim_set_keymap('n', '<leader>]', ':BufferLineCycleNext<CR>', { noremap = true, silent = true })