-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.emacs
31 lines (28 loc) · 1.04 KB
/
.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
(setq inhibit-startup-screen t)
(menu-bar-mode 0)
;; Map Escape key to Meta.
(setq x-meta-keysym 'escape)
(setq x-alt-keysym 'meta)
(global-set-key (kbd "M-x") 'smex)
(global-set-key (kbd "M-X") 'smex-major-mode-commands)
;; The old M-x.
(global-set-key (kbd "C-c C-c M-x") 'execute-extended-command)
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(custom-enabled-themes '(modus-vivendi))
'(package-selected-packages '(smex)))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)
(setq backup-directory-alist '(("." . "~/.emacs_saves")))
(ido-mode t)
;; Adding melpa.
(package-initialize)
(add-to-list 'package-archives
'("melpa" . "https://melpa.org/packages/"))