update .emacs

This commit is contained in:
Luddifee 2021-05-01 09:45:10 +02:00
parent c2e55d13bb
commit 79da8cc6c2
No known key found for this signature in database
GPG Key ID: 72D37442F5AD2232

8
.emacs
View File

@ -39,6 +39,9 @@
;; If there is more than one, they won't work right. ;; If there is more than one, they won't work right.
) )
;; auto complete default config
(ac-config-default)
;; enable evil mode ;; enable evil mode
(require 'evil) (require 'evil)
(evil-mode 1) (evil-mode 1)
@ -53,8 +56,7 @@
(require 'dashboard) (require 'dashboard)
(dashboard-setup-startup-hook) (dashboard-setup-startup-hook)
;; define custom command ;; define custom commands
(defalias 'spg 'dashboard-refresh-buffer) (defalias 'spg 'dashboard-refresh-buffer)
(defalias 'sc 'shell-command)
(ac-config-default)