At Epitech, the default text editor is our good old emacs. However, Visual Studio Code is interfering in our relationship with emacs and is taking over from its many extensions and style.
If you have used the kayofeld script, you are a winner
.
For the installation of emacs with Epitech configuration, you can use the script available in this github repository Epitech-emacs.
Clone the repo with:
$ git clone https://github.com/Epitech/epitech-emacs.git
For local installation, run:
$ ./INSTALL.sh local
For system-wide installation, run:
$ sudo ./INSTALL.sh system
There is an emacs configuration allowing you to avoid some standard errors present in the coding style. Download the following file.
Put it in your home. Rename it to .emacs
.
Emacs Shortcuts:
-
Ctrl
C
+Ctrl
H
: Project name and description -
Ctrl
Z
: Suspending emacs (fg
will resume the suspended job) -
Ctrl
X
+Ctrl
S
: Save -
Ctrl
X
+S
: Save all files -
Ctrl
X
+Ctrl
C
: Quit -
Ctrl
C
+Ctrl
Q
: Auto Indent