-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathemacs
44 lines (34 loc) · 1.29 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
32
33
34
35
36
37
38
39
40
41
42
43
44
(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
(package-initialize)
(setq inhibit-startup-screen t)
(menu-bar-mode -1)
(tool-bar-mode -1)
(set-frame-font "Iosevka Fixed 16" nil t)
(when (version<= "26.0.50" emacs-version)
(global-display-line-numbers-mode)
(setq display-line-numbers-type 'relative))
(require 'ido)
(ido-mode t)
(setq backu-directory-alist '(("." . "~/.emacs_saves/")))
;; SMEX CONFIG
(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 '(gruber-darker))
'(custom-safe-themes
'("bddf21b7face8adffc42c32a8223c3cc83b5c1bbd4ce49a5743ce528ca4da2b6" default))
'(package-selected-packages '(gruber-darker-theme 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.
)
(require 'smex)
(smex-initialize)
(global-set-key (kbd "M-x") 'smex)
(global-set-key (kbd "M-X") 'smex)
(global-set-key (kbd "C-c C-c M-x") 'execute-extended-command)