Documentation
Commentary
Command `find-file-at-point' replaces `find-file'. With a prefix, it behaves exactly like find-file. Without a prefix, it first tries to guess a default file or URL from the text around the point (`ffap-require-prefix' swaps these behaviors). This is useful for following references in situations such as mail or news buffers, README's, MANIFEST's, and so on. Submit bugs or suggestions with `M-x report-emacs-bug'. For the default installation, add this line to your init file: (ffap-bindings) ; do default key bindings ffap-bindings makes the following global key bindings: C-x C-f find-file-at-point (abbreviated as ffap) C-x C-r ffap-read-only C-x C-v ffap-alternate-file C-x d dired-at-point C-x C-d ffap-list-directory C-x 4 f ffap-other-window C-x 4 r ffap-read-only-other-window C-x 4 d ffap-dired-other-window C-x 5 f ffap-other-frame C-x 5 r ffap-read-only-other-frame C-x 5 d ffap-dired-other-frame C-x t f ffap-other-tab S-mouse-3 ffap-at-mouse C-S-mouse-3 ffap-menu ffap-bindings also adds hooks to make the following local bindings in vm, gnus, and rmail: M-l ffap-next, or ffap-gnus-next in gnus (l == "link") M-m ffap-menu, or ffap-gnus-menu in gnus (m == "menu") If you do not like these bindings, modify the variable `ffap-bindings', or write your own. If you use ange-ftp, it is best to load or autoload it before ffap. If you use ff-paths, load it afterwards. Try apropos `C-h a ffap RET' to get a list of the many option variables. In particular, if ffap is slow, try these: (setq ffap-alist nil) ; faster, dumber prompting (setq ffap-url-regexp nil) ; disable URL features in ffap (setq ffap-shell-prompt-regexp nil) ; disable shell prompt stripping (setq ffap-gopher-regexp nil) ; disable gopher bookmark matching ffap uses `browse-url' to fetch URLs. Also, you can add `ffap-menu-rescan' to various hooks to fontify the file and URL references within a buffer.
Consumers
Reverse Dependencies
- dvc
- ffap-rfc-directories
- ido
- ff-paths
- ffap-gcc-path
- ffap-mml
- ffap-perl-module
- ffap-rfc-space
- boogie-friends
- egg
- go-mode
- gpicker
- helm
- ivy
- link-hint
- opener
- pophint
- quick-preview
- auto-install
- bookmark+
- encrypt
- ffap-
- icicles
- perl-completion
- isearch+
- mouse3
- evil
- ox-hugo
- helm-ext
- anything
- guix
- nix-mode
- ace-link
- reveal-in-folder
- zim-wiki-mode
- feed-discovery
- company-fuzzy
- embark
- bazel
- org
- dashboard
- emacspeak
- ekg
- org-gtd
- mpvi
- hyperdrive
- fancy-urls-menu
- eask
- aider
- ert-x
- man