fix(keymaps): Move bufferline pin to C-p

because C-b is used by tmux
This commit is contained in:
Jiří Štefka 2024-11-19 04:20:05 +01:00
parent f0c3c00b56
commit 9199070c13
Signed by: jiriks74
GPG Key ID: 1D5E30D3DB2264DE

@ -13,7 +13,7 @@ keymap.set('n', 'Y', 'y$', { silent = true, desc = '[Y]ank to end of line' })
require('which-key').add({
-- Buffer list navigation, ordering, ...
{ "<C-b>", "<Cmd>BufferLineTogglePin<Cr>", desc = '[p]in buffer' },
{ "<C-p>", "<Cmd>BufferLineTogglePin<Cr>", desc = '[p]in buffer' },
{ "gB", "<Cmd>BufferLinePick<Cr>", desc = '[g]o to [b]uffer' },
{ '>b', "<Cmd>BufferLineMoveNext<Cr>", desc = 'move [b]uffer right' },
{ '<b', "<Cmd>BufferLineMovePrev<Cr>", desc = 'move [b]uffer left' },