Created
August 7, 2015 17:10
-
-
Save mepcotterell/c8ef25d9428f7340de32 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; add line numbers | |
(global-linum-mode 1) | |
;; configure backups | |
(setq backup-directory-alist `(("." . "~/.saves"))) | |
;; display line numbers and column numbers | |
(setq line-number-mode t) | |
(setq column-number-mode t) | |
;; make sure the line numbers don't touch the text | |
(setq linum-format "%d ") | |
(require 'package) | |
(add-to-list 'package-archives | |
'("melpa" . "http://melpa.milkbox.net/packages/") t) | |
(package-initialize) | |
(unless (package-installed-p 'scala-mode2) | |
(package-refresh-contents) (package-install 'scala-mode2)) | |
(add-hook 'after-change-major-mode-hook | |
'(lambda () | |
(setq scala-indent:step 4) | |
(setq-default indent-tabs-mode nil) | |
(setq c-basic-indent 4) | |
(setq tab-width 4))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment