- Clone or download Spacemacs, removing
~/.emacs.dif it already exists
- Clone the practicalli/spacemacs.d configuration to add common layers for Clojure development. Or start Emacs and use the Spacemacs install wizard for basic config, follow the manual configuration section for additional features.
- [optional] Install Fira Code font (change
dotspacemacs-default-fontto a name of a font on your operating system in
.spacemacs.d/init.elin step 4)
- Install All The Icons fonts for doom modeline theme
Use your favourite git client or the following command in a terminal window to clone Spacemacs:
Clone Practicalli Spacemacs configurationλ︎
Clone practicalli/spacemacs.d configuration or first create a fork and clone that fork
~/.config/spacemacs/init.el is the main configuration file, ensure
~/.spacemacs file does not exist as that file would take precedence.
Emacs custom settings
.spacemacs.d/init.el configuration separates Emacs custom settings into a
emacs-custom-setting should be added to version control if the Emacs
customize menu has been used to define settings.
emacs-custom-file is defined in the
dotspacemacs/user-init of the Spacemacs configuration
(setq custom-file "~/.emacs.d/.cache/custom-settings")
Install Fira Code fontλ︎
Use a different font with practicalli/spacemacs.d
To use a different font when using the practicalli/spacemacs.d, edit
.spacemacs.d/init.el and update the value for
dotspacemacs-default-font to a name of a font on your system.
All The Icon Fontsλ︎
practicalli/spacemacs.d configuration uses the modern looking doom modeline theme, which requires a few fonts and icons.
SPC SPC all-the-icons-install-fonts once Spacemacs is running will install the fonts.
Space q r to restart Spacemacs and see the finished results
Spacemacs is ready for actionλ︎
Spacemacs is now up and running and ready to take on the world.
If you already know how to use Spacemacs, jump to the Clojure Projects section, otherwise look through the Spacemacs Basics section to learn how to use Vim style editing and work with files, buffers and windows in Spacemacs.