summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/telescope.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/telescope.txt b/doc/telescope.txt
index b573d65..23f87bf 100644
--- a/doc/telescope.txt
+++ b/doc/telescope.txt
@@ -1775,6 +1775,11 @@ ordered from the lowest priority to the highest priority.
map("i", "asdf", function(_prompt_bufnr)
print "You typed asdf"
end)
+
+ map({"i", "n"}, "<C-r>", function(_prompt_bufnr)
+ print "You typed <C-r>"
+ end)
+
-- needs to return true if you want to map default_mappings and
-- false if not
return true