kaushalmodi / .emacs.d

My emacs configuration
MIT License
262 stars 49 forks source link
emacs emacs-configuration emacs-lisp

+title: modi .emacs.d

+author: Kaushal Modi

+begin_quote

My emacs setup is tested to work only with emacs 25.1 and newer versions. If you are on older versions, I would recommend that you upgrade to the [[https://www.gnu.org/software/emacs/download.html][latest available stable version]].

On the other hand, I keep my emacs updated to the [[http://git.savannah.gnu.org/cgit/emacs.git/log/][/latest Development version/]]. So my config will definitely work with that if you too are doing the same.

+end_quote

  1. Download the latest update script for this config

    +begin_src shell

    curl -o force_update_emacsd.sh https://raw.githubusercontent.com/kaushalmodi/.emacs.d/master/force_update_emacsd.sh chmod 744 force_update_emacsd.sh

    +end_src

    This script /git clones/ my config and all sub-modules that I rely on (mine + others).

  2. Run the script (review it first if you like) using below if you want to download this config to your =~/.emacs.d/= directory.

    +begin_example

    ./force_update_emacsd.sh ~/.emacs.d

    +end_example

    /If the download location you specify already exists, a backup of it is created first./

  3. Edit the =user-emacs-directory= var in the just downloaded =init.el= if needed BEFORE starting emacs using this config.

    If you ran =./force_update_emacsd.sh ~/.emacs.d= in Step 2 above, you will not need to change that variable. But if you did =./force_update_emacsd.sh =, you will need to change the value of =user-emacs-directory= in =/init.el= to ==.

  4. Start emacs as usual if you did not change the download location in Step 2. If you DID change the download location to ==, you will need to do =\emacs -Q -l /init.el=.

That's it!

The first start will take a couple of minutes as it auto-installs all packages in the =my-packages= list defined in the =init.el=.

Thanks!