Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I reload .spacemacs file after editing without restart emacs?

Tags:

emacs

I am new to emacs(spacemacs), and I follow this article to learn spacemacs.

Once you are done editing, save the file and either press C-c C-c in the file to reload it or just restart Spacemacs.

But after I save the .spacemacs and then press C-c C-c, the powerline told me C-c C-c is undefined.

How can I reload .spacemacs file after editing without restart emacs?

like image 204
user2331095 Avatar asked Jul 24 '15 15:07

user2331095


People also ask

How do I reload a .emacs file?

You can use the command load-file ( M-x load-file , then press return twice to accept the default filename, which is the current file being edited). You can also just move the point to the end of any sexp and press C-x C-e to execute just that sexp.

How do I restart emacs?

There is no way to restart an Emacs session once you have killed it. You can, however, arrange for Emacs to record certain session information, such as which files are visited, when you kill it, so that the next time you restart Emacs it will try to visit the same files and so on.


1 Answers

I found the solution: SPC f e R

It is from "Dotfile Configuration" in the Spacemacs Docs.

like image 51
user2331095 Avatar answered Oct 04 '22 00:10

user2331095