Emacs C++, opening corresponding header file

后端 未结 3 1133
既然无缘
既然无缘 2021-02-02 10:11

I am new to emacs and I was wondering

  • if there is a shortcut to switch between header/source and the corresponding source/header file

  • if there i

3条回答
  •  日久生厌
    2021-02-02 10:40

    There's ff-find-other-file.

    You can bind this to your own key using something like:

    (global-set-key (kbd "C-x C-o") 'ff-find-other-file)
    

    But of course you'll need to pick a key that doesn't already have something useful bound to it :)

提交回复
热议问题