Emacs

Think of something you would do on your computer... 🤔 ? You can do it in Emacs !

Installing and Enabling Emacs

Firstly make sure you have the emacs package installed. Then start its service by using the command systemctl --user enable --now emacs

Tip

For the best performance install emacs-nativecomp. This enables native compilation. This does mean that when you install plugins it will start compiling it in the background, which might mean occasionally you will notice emacs workers compiling things in the background.

Now you can launch Emacs using emacsclient -nc. Optionally include the filename as an argument.

Doom Emacs

Configuring emacs, and keeping up to date with all the changes can be a daunting and time consuming task. Hence I use an Emacs framework called Doom Emacs. Make sure to read the Getting started. I will not be going through how to use emacs, as it is another whole book on its own.

To install Doom Emacs run the following command (taken from Doom Emacs docs)

# dependencies
pacman -S git ripgrep fd
git clone --depth 1 https://github.com/doomemacs/doomemacs ~/.emacs.d
~/.emacs.d/bin/doom install

Emacs on wayland

Native wayland emacs is coming with emacs 29, for now none of the emacs wayland AUR packages have worked for me. Therefore I have just stuck to emacs-nativecomp, but it does come with transparency glitches on wayland.