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

C-M-y Behavior for write-file? #2092

Closed
draxil opened this issue Jun 10, 2019 · 1 comment
Closed

C-M-y Behavior for write-file? #2092

draxil opened this issue Jun 10, 2019 · 1 comment

Comments

@draxil
Copy link

draxil commented Jun 10, 2019

I love ivy, but sometimes it's behaviour isn't ideal for every situation. Thankfully in "find-file" I can hit C-M-y and edit the full path. However, this doesn't work for "write-file". And actually I often wish to do things like modify the middle of a path, an action which can be cumbersome in ivy.

Use case, I have a file at:
/x/foo/fancylib/c/x.c
I want to write it to
/x/bar/fancylib/c/d.c
This task is much easier if I can use the vanilla emacs style of editing the path.

So, how difficult would to be to have the same C-M-y behaviour in write-file?

@abo-abo
Copy link
Owner

abo-abo commented Jun 13, 2019

Thanks, C-M-y will now work with write-file.

astoff pushed a commit to astoff/swiper that referenced this issue Jan 1, 2021
* counsel.el (counsel-yank-directory): Make obsolete.

Fixes abo-abo#2092
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

No branches or pull requests

2 participants