Skip to content

Instantly share code, notes, and snippets.

@mindbat
Last active December 11, 2015 22:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save mindbat/4668833 to your computer and use it in GitHub Desktop.
Save mindbat/4668833 to your computer and use it in GitHub Desktop.
emacs startup file
(setq make-backup-files nil)
(setq-default indent-tabs-mode nil)
(setq-default tab-width 4)
(setq standard-indent 4)
(setq tab-stop-list '(4 8 12 16 20 24 28 32 36 40 44 48 52 56 60 64 68 72 76 80))
(setq c-basic-offset 4)
(autoload 'paredit-mode "paredit"
"Minor mode for pseudo-structurally editing Lisp code." t)
(add-hook 'clojure-mode-hook (lambda () (paredit-mode +1)))
(add-hook 'before-save-hook 'delete-trailing-whitespace)
(setq inferior-lisp-program "lein repl")
;;; This was installed by package-install.el.
;;; This provides support for the package system and
;;; interfacing with ELPA, the package archive.
;;; Move this code earlier if you want to reference
;;; packages in your .emacs.
(when
(load
(expand-file-name "~/.emacs.d/elpa/package.el"))
(package-initialize))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment