You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice for find-file-at-point to work with ivy.
If the point is on a file path and if I do counsel-find-file, it should pick up the path at point (but not open that file/dir directly) and then allow the user to edit the path as needed.
The text was updated successfully, but these errors were encountered:
It would be nice for find-file-at-point to work with ivy.
There was an issue with find-file-at-point and ivy-mode. It's fixed in the trunk.
If the point is on a file path and if I do counsel-find-file, it should pick up the path at point (but not open that file/dir directly) and then allow the user to edit the path as needed.
* ivy.el (ivy-ffap-url-functions): New defvar.
(ivy--cd-maybe): When calling a function in `ivy-ffap-url-functions'
results in a string, stop completion and open that string with
`ffap-url-fetcher'.
* counsel.el (counsel-github-url-p): New defun.
(ivy-ffap-url-functions): Add `counsel-github-url-p' to the list.
This feature allows to quickly visit Github issues from either
`magit-commit-mode' or from a version-controlled file. The point has to
be at the "#" char in e.g. "#123", that represents an issue.
It's possible to customize `ivy-ffap-url-functions' to do a similar
thing for places other than Github.
The "C-x C-f M-n" key binding will work better with `counsel-find-file',
for plain `find-file' it will open a `dired' buffer in addition to
opening the URL.
It would be nice for find-file-at-point to work with ivy.
If the point is on a file path and if I do
counsel-find-file
, it should pick up the path at point (but not open that file/dir directly) and then allow the user to edit the path as needed.The text was updated successfully, but these errors were encountered: