feat(picker): allow appending original window <cWORD>, <cfile> and cursor line to prompt (#3134)

This commit is contained in:
Xavier Young
2024-05-28 05:02:25 +08:00
committed by GitHub
parent 4c96370cf9
commit 2df52609a1
5 changed files with 55 additions and 0 deletions

View File

@@ -263,6 +263,9 @@ Many familiar mapping patterns are set up as defaults.
| `<C-q>` | Send all items not filtered to quickfixlist (qflist) |
| `<M-q>` | Send all selected items to qflist |
| `<C-r><C-w>` | Insert cword in original window into prompt (insert mode) |
| `<C-r><C-a>` | Insert cWORD in original window into prompt (insert mode) |
| `<C-r><C-f>` | Insert cfile in original window into prompt (insert mode) |
| `<C-r><C-l>` | Insert cline in original window into prompt (insert mode) |
To see the full list of mappings, check out `lua/telescope/mappings.lua` and the
`default_mappings` table.