What to do if I cannot find my emacs init file?

前端 未结 3 1013
情话喂你
情话喂你 2020-11-30 13:37

I am trying to add haskell-mode to emacs by following these instructions:

http://doc.gnu-darwin.org/haskell-mode/installation-guide.html

This involves that I

相关标签:
3条回答
  • 2020-11-30 13:56

    C-x C-f ~/.emacs will take you to it.

    See the Emacs manual, nodes Init File and Find Init.

    0 讨论(0)
  • 2020-11-30 14:04

    To open your emacs init file, type M-: (find-file user-init-file) RET. If you only want to see its path, you can use C-h v user-init-file RET.

    0 讨论(0)
  • 2020-11-30 14:06

    You can also create it yourself, if I'm not wrong installing emacs doesn't create automatically the file all the times. Just type in the terminal with your text editor (vim, vi, nano, etc) of preference:

    vim ~/.emacs
    

    And edit it the way you want :-)

    0 讨论(0)
提交回复
热议问题