Spacemacs

From Gentoo Wiki
Jump to: navigation, search
Resources

Spacemacs is a sophisticated and polished Emacs set-up focused on ergonomics, mnemonics and consistency.

Installation

Note
The use of Emacs 26.x is advised due to compatibility with Spacemacs layers.

USE flags

Ensure Emacs is built with the xft USE flag[1][2]:

FILE /etc/portage/package.use
app-editors/emacs xft

Emerge

Reinstall Emacs:

root #emerge --ask app-editors/emacs

Spacemacs

Install Spacemacs:

user $git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d
Note
Backup or delete ~/.emacs.d if the directory already exists. If old settings are to be archived, backup ~/.emacsm

Start Emacs and follow the install prompt at the bottom of the screen.

user $emacs &

After finishing the first startup process, press ESC -> SPACE -> f -> f -> .spacemacs . The font can be changed under dotspacemacs-default-font and layers can be enabled or disabled under dotspacemacs-configuration-layers among many other options. The settings are written in Lisp.

References

  1. Konstantinos Tsardounis. Unable to use Source Code Pro fonts?, Spacemacs GutHub, January 16th, 2018. Retrieved on March 19th, 2019.
  2. Wiki authors. Xft support for GNU Emacs, Gentoo Wiki, July 11th, 2013. Retrieved on March 19th, 2019.