summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.emacs.d/init.el25
1 files changed, 16 insertions, 9 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 4897d28..7f7f53b 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -5,10 +5,6 @@
(require 'package)
(add-to-list 'load-path "~/.emacs.d/lisp/")
-(load "my-functions.el")
-(load "init-keys.el")
-(load "all-the-icons-dired.el")
-(load "init-exwm")
(add-hook 'dired-mode-hook 'all-the-icons-dired-mode)
@@ -22,11 +18,17 @@
(unless package-archive-contents
(package-refresh-contents))
+
(unless (package-installed-p 'use-package)
(package-install 'use-package))
(require 'use-package)
+
(setq use-package-always-ensure t)
+(load "my-functions.el")
+(load "init-keys.el")
+(load "all-the-icons-dired.el")
+(load "init-exwm")
(setq inhibit-startup-message nil)
@@ -85,7 +87,7 @@
(setq dashboard-item-names '(("Recent Files:" . "Recent Files:")
("Bookmarks:" . "Study:")))
;; Set the banner
-(setq dashboard-startup-banner "~/dotfiles/medicine/plague-doctor-s.png")
+(setq dashboard-startup-banner "~/dotfiles/pictures/medicine/plague-doctor-s.png")
;; Set the title
(setq dashboard-banner-logo-title "Is that a flying flower?")
;; (setq dashboard-init-info "Bring me your sick and wounded!")
@@ -104,7 +106,7 @@
:face 'font-lock-keyword-face))
-
+(use-package general)
(use-package doom-themes
:init (load-theme 'doom-dracula t))
@@ -179,7 +181,7 @@
(define-prefix-command 'window)
-(require 'general)
+
@@ -340,8 +342,10 @@
;;emacs-lisp
(setq tab-always-indent 'complete)
(add-to-list 'completion-styles 'initials t)
-(require 'rainbow-delimiters)
-(add-hook 'emacs-lisp-mode-hook #'rainbow-delimiters-mode)
+(use-package rainbow-delimiters
+ :config
+ (add-hook 'emacs-lisp-mode-hook #'rainbow-delimiters-mode))
+
;;instal flyckeck
(use-package flycheck
@@ -518,6 +522,9 @@
(use-package sudo-edit)
+
+
+
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.