summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorruniq <patrice.peterson@mailbox.org>2020-09-04 20:27:39 +0200
committerGitHub <noreply@github.com>2020-09-04 14:27:39 -0400
commitf5f127541127ca5a773a9b4ba8434d5b88871335 (patch)
treee782c385987f66d31c9a6ff486b2264c23a37dc3 /lua
parenta6c883ce362fb77a83b2119231b655ddc7eafeea (diff)
Fix mapping prefix (#26)
`<cmd>` doesn't trigger `InsertLeave`.
Diffstat (limited to 'lua')
-rw-r--r--lua/telescope/mappings.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/telescope/mappings.lua b/lua/telescope/mappings.lua
index 001e0b0..48d5606 100644
--- a/lua/telescope/mappings.lua
+++ b/lua/telescope/mappings.lua
@@ -73,7 +73,7 @@ local telescope_map = function(prompt_bufnr, mode, key_bind, key_func, opts)
)
else
if mode == "i" and not opts.expr then
- prefix = "<C-O>"
+ prefix = "<cmd>"
end
map_string = string.format(