Skip to content

Instantly share code, notes, and snippets.

@breenie
Last active December 18, 2015 08:29
Show Gist options
  • Save breenie/5754841 to your computer and use it in GitHub Desktop.
Save breenie/5754841 to your computer and use it in GitHub Desktop.
Sensible .emacs defaults.
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)
(setq inhibit-splash-screen t)
(setq-default indent-tabs-mode nil)
(setq-default tab-width 4)
(defalias 'yes-or-no-p 'y-or-n-p)
(setq c-default-style "linux"
c-basic-offset 4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment