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 binding for find-file-at-point #7852

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

carmenbianca
Copy link

This is a very simple PR to bind 'SPC f h' to find-file-at-point. This is immensely useful in terminal emulators. 'h' is a mnemonic for 'here'. 'c' and 'C' (for 'cursor') were already taken.

Fix: N/A
Ref: N/A
Close: N/A


  • I searched the issue tracker and this hasn't been PRed before.
  • My changes are not on the do-not-PR list for this project.
  • My commits conform to the git conventions.
  • Any relevant issues or PRs have been linked to.

* modules/config/default/+emacs-bindings.el: Add binding for
  find-file-at-point

Signed-off-by: Carmen Bianca BAKKER <carmen@carmenbianca.eu>
@carmenbianca carmenbianca requested a review from a team as a code owner April 29, 2024 14:16
@LemonBreezes
Copy link
Contributor

If you are using the :completion vertico module, you can use find-file, and then M-n to select the file name at point. As a general rule, if you are doing minibuffer completion and you type M-n when there are no history items ahead of you, Emacs will try to guess what you are trying to complete. This is called "future history".

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

Successfully merging this pull request may close these issues.

None yet

2 participants