diff options
| author | Waldson PatrĂcio <waldsonpatricio@gmail.com> | 2022-03-20 17:34:07 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-20 21:34:07 +0100 |
| commit | 1a72a92b641e1dab42036c07e2571b43c55bfaa1 (patch) | |
| tree | 417a6002a86b0ca9764e1cfc306fd39c2218a67c /lua/telescope/config.lua | |
| parent | 6a43634f5f492113fd0bdec225d936a17b9ecbf2 (diff) | |
feat: enable individual options for mappings (#890)
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
Diffstat (limited to 'lua/telescope/config.lua')
| -rw-r--r-- | lua/telescope/config.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lua/telescope/config.lua b/lua/telescope/config.lua index bf8c211..26f5845 100644 --- a/lua/telescope/config.lua +++ b/lua/telescope/config.lua @@ -690,6 +690,16 @@ append( ["jj"] = { "<esc>", type = "command" }, ["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 } + }, + ..., ]] ) |
