SimenHolmestad / .emacs.d

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Note: I have decided to try out doom-emacs for the time being and will probably not work on this config for a while. The new config can be found here.

.emacs.d

My configuration file for the emacs text editor. It is written in an org-mode-file (.org) for easier organisation and a better editing experience in emacs. All the code blocks in the org-file are run with the org-babel-load-file-function in init.el when emacs starts.

Although you are free to use my configuration as a starting point for emacs, I would rather recommend you to make your own config-file and steal stuff from this one (and others!) while you go along. Some of the fun part of emacs is to configure it the way you want.

How to run emacs with this configuration

  1. Download emacs. This can be done by following this guide, but in my experience this version (using brew cask) is better for mac than the regular homebrew version.
  2. Clone this repo into your home folder
  3. Run emacs

Be prepared to wait a bit while starting emacs for the first time, as it will take some time to download all the packages. There will perhaps be some compile warnings after the packages are downloaded, and these might be smart to check out.

The init.el-file is going to change after running emacs for the first time with this config and should not be committed afterwards. To make sure init.el is not shown in git, you can run the command:

git update-index --assume-unchanged init.el

To undo the operation above, you can run:

git update-index --no-assume-unchanged init.el

About


Languages

Language:Emacs Lisp 94.0%Language:YASnippet 6.0%