I switch between tabs with <leader>bb and typing in the letter that appears on the tab. Is there a faster way? For example, it will switch to a tab to the right / left.
Yes, faster than your example and default Astronvim way is
[b - go to previous buffer
]b - go to next buffer.
Set keyboard shortcuts to Tab and Shift+Tab
vim.api.nvim_set_keymap('n', '<S-Tab>', ':bprev<CR>', { noremap = true })
vim.api.nvim_set_keymap('n', '<Tab>', ':bnext<CR>', { noremap = true })
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With