How do I bind Tab for next #1056
-
I want tab to act as C-j , But right now its acting as select multiple files. How do I remove select multiple files and assign tab to Down? |
Beta Was this translation helpful? Give feedback.
Answered by
RiteshChepuri
Feb 11, 2025
Replies: 1 comment 1 reply
-
Something like this should work return {
{
"folke/snacks.nvim",
opts = {
picker = {
win = {
input = {
keys = {
["<c-j>"] = { "select_and_next", mode = { "i", "n" } },
["<c-k>"] = { "select_and_prev", mode = { "i", "n" } },
["<Tab>"] = { "list_down", mode = { "i", "n" } },
["<S-Tab>"] = { "list_up", mode = { "i", "n" } },
},
},
list = {
keys = {
["<c-j>"] = { "select_and_next", mode = { "n", "x" } },
["<Tab>"] = "list_down",
["<c-k>"] = { "select_and_prev", mode = { "n", "x" } },
["<S-Tab>"] = "list_up",
},
},
},
},
},
},
} |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
worked Thanks man