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

[Feature Request] Add ivy-yank-char as ivy-yank-word. #1588

Closed
zw963 opened this issue May 23, 2018 · 3 comments

Comments

@zw963
Copy link

commented May 23, 2018

Thanks

@zw963 zw963 changed the title [Feature Request] Add isearch-yank-char, isearch-yank-word Like feature. [Feature Request] Add ivy-yank-char as ivy-yank-word. May 23, 2018

@basil-conto

This comment has been minimized.

Copy link
Collaborator

commented May 23, 2018

Maybe its just me, but I'm not sure I understand what you're asking. Can you please elaborate in more details? Are you asking for the addition of a command that is similar to ivy-yank-word, but which only yanks a single character, rather than a whole word?

@zw963

This comment has been minimized.

Copy link
Author

commented May 24, 2018

Are you asking for the addition of a command that is similar to ivy-yank-word, but which only yanks a single character, rather than a whole word?

Yes, as isearch-yank-char and isearch-yank-word in isearch-mode, we have latter, but missing former, i select current content will two command combinding.

basil-conto added a commit to basil-conto/swiper that referenced this issue May 30, 2018
Add Ivy version of isearch-yank-char
ivy.el (ivy--yank-by): New function generalising old ivy-yank-word.
(ivy-yank-word): Use it.
(ivy-yank-char): New command.
swiper.el (swiper--update-input-ivy): Make exception for it.
doc/ivy.org (Key bindings that alter the minibuffer input):
Mention it.

Re: abo-abo#1588
abo-abo added a commit that referenced this issue Jun 6, 2018
Add Ivy version of isearch-yank-char
ivy.el (ivy--yank-by): New function generalising old ivy-yank-word.
(ivy-yank-word): Use it.
(ivy-yank-char): New command.
swiper.el (swiper--update-input-ivy): Make exception for it.
doc/ivy.org (Key bindings that alter the minibuffer input):
Mention it.

Re: #1588
@abo-abo

This comment has been minimized.

Copy link
Owner

commented Jun 6, 2018

Fixed now, closing.

@abo-abo abo-abo closed this Jun 6, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.