summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorWaldson PatrĂ­cio <waldsonpatricio@gmail.com>2022-03-20 17:34:07 -0300
committerGitHub <noreply@github.com>2022-03-20 21:34:07 +0100
commit1a72a92b641e1dab42036c07e2571b43c55bfaa1 (patch)
tree417a6002a86b0ca9764e1cfc306fd39c2218a67c /doc
parent6a43634f5f492113fd0bdec225d936a17b9ecbf2 (diff)
feat: enable individual options for mappings (#890)
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
Diffstat (limited to 'doc')
-rw-r--r--doc/telescope.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/telescope.txt b/doc/telescope.txt
index 26638ca..5c49f9d 100644
--- a/doc/telescope.txt
+++ b/doc/telescope.txt
@@ -540,6 +540,16 @@ telescope.setup({opts}) *telescope.setup()*
["kk"] = { "<cmd>echo \"Hello, World!\"<cr>", type = "command" },)
...,
+ You can also add additional options for mappings of any type
+ ("action" and "command"). For example:
+
+ ...,
+ ["<C-j>"] = {
+ action = actions.move_selection_next,
+ opts = { nowait = true, silent = true }
+ },
+ ...,
+
*telescope.defaults.default_mappings*
default_mappings: ~