explorer close keymap #1312
-
|
Hi all, Overall, I love the snacks.picker behavior! But, in explorer, when I hit ESC more than once (it's a bad habit I have from way back), it closes explorer, which is almost never what I actually want to do. Then I have to open it again. Is there a way to change just explorer to use Don't get me wrong, I comfortably use ESC to close all of the other types of pickers just fine--no confusion. I guess I got used to that when using telescope, fzf-lua, etc. Edit: actually, I do see that PS: I love that the pickers are modal!! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
You can try opts = {
sources = {
explorer = {
win = {
input = {
keys = {
["<esc>"] = { "", mode = "n" },
},
},
list = {
keys = {
["<esc>"] = { "", mode = "n" },
},
},
},
},
},
},For the explorer. |
Beta Was this translation helpful? Give feedback.
You can try
For the explorer.