My personal Emacs configuration, reworked and cleaned up using use-package for third-party package management and setup.
Configuration is split up into modules which can be enabled or disabled in the core/sm-modules.el
file.
Clone this repository into your home directory as .emacs.d.
git clone git://github.com/sjrmanning/.emacs.d.git ~/.emacs.d
...then run Emacs. On the first run, Emacs will install and compile any packages handled by the package manager. This is checked on each run, so if you want to add a package to install, simply add it to the list in init-packages.el
, and the next time Emacs runs it will automatically install and compile the new package alone.
Emacs 24+ is needed for package.el and the deftheme color-theme system. This setup is used and tested with 24.5. Starting to play around with Emacs 25, so hopefully 25.x related changes aren’t breaking 24.5 at all.
There are a few cool external tools, mainly around code intelligence, syntax checking and auto-completion, that make this setup work a lot better, but obviously they need to be installed to work.
brew install the_silver_searcher
forag.el
search viaC-s
.brew install editorconfig
for parsing .editorconfig files in projects.brew install aspell --with-lang-en
for spell-checking in writing/commit/text modes.
npm install -g tern
for code-analysis and completion viatern
.
gem install rubocop
for style-checking via flycheck.
- Install with
pip install
. jedi
andservice_factory
for company intelligence and completion.flake8
for pep8 syntax checking via flycheck.
- OmniSharp (see link for details.)
brew install global
for the GNU global tag system. Used by ggtags.
brew install
eitherdiscount
ormarkdown
for previewing and compiling markdown documents withmarkdown-mode
.