aboutsummaryrefslogtreecommitdiff
path: root/emacs/.emacs.d/init.el
blob: 35f7ac9ce0283d6ce2b6597d33f2ee18ee2e05bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
(setq package-archives '(
	("melpa" . "http://melpa.milkbox.net/packages/")
	("org" . "http://orgmode.org/elpa/")
	("gnu" . "http://elpa.gnu.org/packages/")
	("org" . "http://orgmode.org/elpa/")
))

(require 'package)
(package-initialize)

(require 'evil)
(evil-mode 1)
(global-evil-tabs-mode t)

(setq inhibit-startup-message t)
(load-theme 'molokai t)
(set-frame-font "Source Code Pro-9")

(menu-bar-mode -1)
(tool-bar-mode -1)
(scroll-bar-mode -1)

(global-hl-line-mode 1)
(setq-default tab-width 4)
(setq make-backup-files nil)
(setq auto-save-default nil)

(define-key evil-normal-state-map (kbd "M-<left>") 'evil-window-left)
(define-key evil-normal-state-map (kbd "M-<down>") 'evil-window-down)
(define-key evil-normal-state-map (kbd "M-<up>") 'evil-window-up)
(define-key evil-normal-state-map (kbd "M-<right>") 'evil-window-right)