Replies: 1 comment 3 replies
-
You're focused on the Explorer when the key is triggered, so its buffer keymap take precedence over your global keymap. I wouldn't recommend using vim.keymap.set('n', '<C-b>', function() Snacks.explorer() end, {}) opts = {
picker = {
sources = {
explorer = {
win = {
list = {
keys = {
['<C-b>'] = 'close', |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! I had configured
<leader>fe
to toggle the snacks explorer. it works as expected, it opens the explorer on the side if its closed, and closes it if its open. However, I am trying to remap it toctrl-b
but when using this keyboard shortcut the explorer doesnt close if its already open. The only thing I changed is the key combination. can someone help?Beta Was this translation helpful? Give feedback.
All reactions