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
Closed

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

zw963 opened this issue May 23, 2018 · 3 comments

Comments

@zw963
Copy link

@zw963 zw963 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
Copy link
Collaborator

@basil-conto basil-conto 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?

Loading

@zw963
Copy link
Author

@zw963 zw963 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.

Loading

basil-conto added a commit to basil-conto/swiper that referenced this issue May 30, 2018
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
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
Copy link
Owner

@abo-abo abo-abo commented Jun 6, 2018

Fixed now, closing.

Loading

@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
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants