Skip to content

Instantly share code, notes, and snippets.

@srgtuszy
Forked from anonymous/.emacs
Created June 28, 2013 07:57
Show Gist options
  • Save srgtuszy/5883178 to your computer and use it in GitHub Desktop.
Save srgtuszy/5883178 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