Skip to content

Instantly share code, notes, and snippets.

Created June 28, 2013 07:56
Show Gist options
  • Save anonymous/5883174 to your computer and use it in GitHub Desktop.
Save anonymous/5883174 to your computer and use it in GitHub Desktop.
(add-to-list 'load-path "~/.emacs.d")
(require 'cc-mode)
(require 'autopair)
(autopair-global-mode)
(define-key c-mode-base-map (kbd "RET") 'newline-and-indent)
(global-linum-mode t)
(setq-default c-basic-offset 4
tab-width 8
indent-tabs-mode t)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment