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

Add support for counsel-locate over tramp #1735

Closed
wants to merge 1 commit into from

Conversation

@jgkamat
Copy link
Contributor

commented Aug 28, 2018

This allows counsel-locate to properly open files when in a tramp buffer, previously, it would open the remote file path on the local machine.

Is there a custom way of getting the default directory in ivy? ivy--directory appears to be nil in this function.

@abo-abo abo-abo closed this in 1f78cfe Sep 6, 2018

@abo-abo

This comment has been minimized.

Copy link
Owner

commented Sep 6, 2018

Thanks.

Is there a custom way of getting the default directory in ivy? ivy--directory appears to be nil in this function

It's not nil for file completion (e.g. counsel-find-file or find-file), which counsel-locate isn't.

@jgkamat jgkamat deleted the jgkamat:jay/counsel-locate-tramp branch Sep 6, 2018

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