Skip to content

feat(picker): allow appending original window cword to prompt#2878

Merged
jamestrew merged 6 commits into
masterfrom
cword
Jan 20, 2024
Merged

feat(picker): allow appending original window cword to prompt#2878
jamestrew merged 6 commits into
masterfrom
cword

Conversation

@jamestrew
Copy link
Copy Markdown
Contributor

Store <cword> on picker:find and create new action insert_original_cword (maybe just insert_cword?) to insert/append the cword of the original window/buffer under telescope into the prompt buffer.

Allows for similar behaviors to c_CTRL-R_CTRL-W.
closes #2730

@Conni2461
Copy link
Copy Markdown
Member

we could map this on default

@jamestrew jamestrew merged commit 24778fd into master Jan 20, 2024
@jamestrew jamestrew deleted the cword branch January 20, 2024 02:38
jamestrew added a commit that referenced this pull request Jan 21, 2024
* feat(picker): allow appending original window cword to prompt

* add default mapping and document

* [docgen] Update doc/telescope.txt
skip-checks: true

* add mapping to README

also format README

* oops

* [docgen] Update doc/telescope.txt
skip-checks: true

---------

Co-authored-by: Github Actions <actions@github>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support the ^wr map in the input window

2 participants