Skip to content

Maverobot/dot-spacemacs

Repository files navigation

Build Status

dot-spacemacs

This is the repository of a personal spacemacs config file. The configurations can be found in

Installation

Automatic

If you are using Ubuntu 18.04 or Ubuntu 20.04, you can install the entire setup, including emacs, spacemacs, utility packages etc, using the following simple command:

curl -o- https://raw.githubusercontent.com/Maverobot/dot-spacemacs/master/installer.sh | bash

Root privileges will be needed by the script for package installation via apt, snap and dpkg. When in doubt, feel free to check out installer.sh.

Manual

Click me

Requirements

  • Emacs

    sudo snap install emacs --classic
  • Spacemacs

    git clone https://github.com/syl20bnr/spacemacs -b develop ~/.emacs.d
  • gcc >= 7.5 is needed to compile ccls. See here for installation guide.

  • Fonts for the themes:

    emacs -u $(id -un) --batch --eval '(all-the-icons-install-fonts t)'

Configuration

  • Clone the repo

    git clone https://github.com/Maverobot/dot-spacemacs.git ~/.spacemacs.d
  • Backup your ~/.spacemacs file somewhere. The spacemacs will now use ~/.spacemacs.d/init.el as the init-file instead.

    mv ~/.spacemacs ~/.spacemacs.bk
  • Setup everything including ccls

    cd ~/.spacemacs.d && ./setup.sh
  • Setup only ccls for c/c++ IDE

    cd ~/.spacemacs.d && ./build_ccls.sh

Other stuffs