diff options
| author | Gregory Anders <8965202+gpanders@users.noreply.github.com> | 2022-07-07 14:19:35 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-07 22:19:35 +0200 |
| commit | 7df6662394e12cb65593f69b9d6fc0b4d35f3a00 (patch) | |
| tree | fb087472405af31151f5c228abddf352a4b2f7e2 /lua/telescope | |
| parent | a36500c7ee6e9dce08fde9d1c12a334cfca7553f (diff) | |
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.
Diffstat (limited to 'lua/telescope')
| -rw-r--r-- | lua/telescope/mappings.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/telescope/mappings.lua b/lua/telescope/mappings.lua index b7baa16..b7baf41 100644 --- a/lua/telescope/mappings.lua +++ b/lua/telescope/mappings.lua @@ -33,6 +33,7 @@ mappings.default_mappings = config.values.default_mappings ["<C-q>"] = actions.send_to_qflist + actions.open_qflist, ["<M-q>"] = actions.send_selected_to_qflist + actions.open_qflist, ["<C-l>"] = actions.complete_tag, + ["<C-/>"] = actions.which_key, ["<C-_>"] = actions.which_key, -- keys from pressing <C-/> ["<C-w>"] = { "<c-s-w>", type = "command" }, }, |
