fix: also map <C-/> for which-key (#2051)
Some terminals send Ctrl + / as <C-/>, not <C-_>. Map both to the which_key action to cover these cases.
This commit is contained in:
@@ -33,6 +33,7 @@ mappings.default_mappings = config.values.default_mappings
|
|||||||
["<C-q>"] = actions.send_to_qflist + actions.open_qflist,
|
["<C-q>"] = actions.send_to_qflist + actions.open_qflist,
|
||||||
["<M-q>"] = actions.send_selected_to_qflist + actions.open_qflist,
|
["<M-q>"] = actions.send_selected_to_qflist + actions.open_qflist,
|
||||||
["<C-l>"] = actions.complete_tag,
|
["<C-l>"] = actions.complete_tag,
|
||||||
|
["<C-/>"] = actions.which_key,
|
||||||
["<C-_>"] = actions.which_key, -- keys from pressing <C-/>
|
["<C-_>"] = actions.which_key, -- keys from pressing <C-/>
|
||||||
["<C-w>"] = { "<c-s-w>", type = "command" },
|
["<C-w>"] = { "<c-s-w>", type = "command" },
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user