summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorXavier Young <45989017+younger-1@users.noreply.github.com>2022-11-28 03:04:07 +0800
committerGitHub <noreply@github.com>2022-11-27 20:04:07 +0100
commit4d77743a8ec4d19b3c47e0d04f3e88f1a933698e (patch)
tree891e3e54d184c00cd07a0e1ae97a7dab92fe5a95 /doc
parent343a2b6b712eb42ae5a319d484508cc5e9e483b0 (diff)
feat(builtin.keymaps): display noremap/buffer indicators and add lhs filter (#2246)
Diffstat (limited to 'doc')
-rw-r--r--doc/telescope.txt12
1 files changed, 8 insertions, 4 deletions
diff --git a/doc/telescope.txt b/doc/telescope.txt
index 6bb4947..d2ac210 100644
--- a/doc/telescope.txt
+++ b/doc/telescope.txt
@@ -1343,10 +1343,14 @@ builtin.keymaps({opts}) *telescope.builtin.keymaps()*
{opts} (table) options to pass to the picker
Options: ~
- {modes} (table) a list of short-named keymap modes to search
- (default: { "n", "i", "c", "x" })
- {show_plug} (boolean) if true, the keymaps for which the lhs contains
- "<Plug>" are also shown (default: true)
+ {modes} (table) a list of short-named keymap modes to search
+ (default: { "n", "i", "c", "x" })
+ {show_plug} (boolean) if true, the keymaps for which the lhs contains
+ "<Plug>" are also shown (default: true)
+ {only_buf} (boolean) if true, only show the buffer-local keymaps
+ (default: false)
+ {lhs_filter} (function) filter(lhs:string) -> boolean. true if the
+ keymap should be shown (optional)
builtin.filetypes({opts}) *telescope.builtin.filetypes()*