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

18
.emacs
View File

@ -33,11 +33,14 @@
'(tooltip-mode nil)) '(tooltip-mode nil))
(custom-set-faces (custom-set-faces
;; custom-set-faces was added by Custom. ;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful. ;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance. ;; Your init file should contain only one such instance.
;; 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)
@ -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)