Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 6 commits into from
Jan 20, 2024
Merged

Conversation

jamestrew
Copy link
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
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