Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
ivy find-file-at-point [Feature Request] #123
There was an issue with
This can be added via a defcustom.
* 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.