Is there a substitute in emacs for the vi gf command? I mean to open the file which is under the cursor right now, if a real file name is in fact there.
Is there a substitute in emacs for the vi gf command? I mean to
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You want the
find-file-at-pointfunction (which is also aliased toffap). It’s not bound to a key by default, but you can useOr, you can put in your
.emacsfile:This will replace many of the normal
find-filekey bindings (likeC-x C-f) withffap-based versions. See the commentary inffap.elfor details.