-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.emacs
42 lines (31 loc) · 927 Bytes
/
.emacs
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
32
33
34
35
36
37
38
39
40
41
42
;; Interactively Do Things (highly recommended, but not strictly required)
(require 'ido)
(ido-mode t)
(setq inhibit-startup-message t)
;; Toggle menu bar mode from frame
(toggle-menu-bar-mode-from-frame -1)
;; Enable evil mode By Default
(add-to-list 'load-path "~/.emacs.d/elpa/evil-1.0.8")
(require 'evil)
(evil-mode 1)
(put 'upcase-region 'disabled nil)
;; package lists
(require 'package)
(add-to-list 'package-archives
'("melpa" . "http://melpa.milkbox.net/packages/") t)
(add-to-list 'package-archives
'("marmalade" .
"http://marmalade-repo.org/packages/"))
(package-initialize)
(require 'helm-config)
(helm-mode 1)
;; functions
(defun backward-kill-line (arg)
"Kill ARG lines backward."
(interactive "p")
(kill-line (- 1 arg)))
;; set
(setq-default indent-tabs-mode nil)
(setq-default tab-width 2)
(setq indent-line-function 'insert-tab)
(load "~/.emacs.conf/keybindings.el")