summaryrefslogtreecommitdiff
path: root/.emacs.d
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d')
-rw-r--r--.emacs.d/init.el93
1 files changed, 49 insertions, 44 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 013a2f0..077e9eb 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -1,5 +1,5 @@
-
;; init.el ;;
+
;;; Code:
(require 'package)
@@ -43,8 +43,9 @@
(menu-bar-mode -1)
(blink-cursor-mode -1)
(menu-bar--visual-line-mode-enable)
- ;Visible bell
- (setq visible-bell t)
+;;Visible bell
+(setq visible-bell t)
+
;;Transparency
;;(set-frame-parameter (selected-frame) 'alpha '(90 80))
;;(add-to-list 'default-frame-alist '(alpha 90 50))
@@ -52,18 +53,18 @@
- (column-number-mode)
- (global-display-line-numbers-mode t)
- (menu-bar--display-line-numbers-mode-relative)
- ;;Disable line numbers for some modes
- (dolist (mode '(pdf-view-mode-hook
- org-mode-hook
- term-mode-hook
- shell-mode-hook
- eshell-mode-hook
- vterm-mode-hook
- elfeed))
- (add-hook mode (lambda () (display-line-numbers-mode 0))))
+(column-number-mode)
+(global-display-line-numbers-mode t)
+(menu-bar--display-line-numbers-mode-relative)
+;;Disable line numbers for some modes
+(dolist (mode '(pdf-view-mode-hook
+ org-mode-hook
+ term-mode-hook
+ shell-mode-hook
+ eshell-mode-hook
+ vterm-mode-hook
+ elfeed))
+ (add-hook mode (lambda () (display-line-numbers-mode 0))))
(set-face-attribute 'default nil
:font "JetBrains Mono"
@@ -77,6 +78,39 @@
:height apollo/default-font-size
:weight 'regular)
+;;Dashboard settings
+(use-package dashboard
+ :ensure t
+ :config
+ (dashboard-setup-startup-hook)
+ )
+(setq dashboard-items '((recents . 5)
+ (bookmarks . 5)))
+(setq initial-buffer-choice (lambda () (get-buffer-create "*dashboard*")))
+(setq dashboard-item-names '(("Recent Files:" . "Recent Files:")
+ ("Bookmarks:" . "Study:")))
+;; Set the banner
+(setq dashboard-startup-banner "~/Pictures/medicine/plague-doctor.png")
+;; Set the title
+(setq dashboard-banner-logo-title "Is that a flying flower?")
+;; (setq dashboard-init-info "Bring me your sick and wounded!")
+;; Content is not centered by default. To center, set
+(setq dashboard-set-init-info t)
+(setq dashboard-center-content t)
+(setq dashboard-set-navigator t)
+(setq dashboard-set-heading-icons t)
+(setq dashboard-set-file-icons t)
+;; To disable shortcut "jump" indicators for each section, set
+(setq dashboard-show-shortcuts nil)
+;; (setq dashboard-footer-messages '("Dashboard is pretty cool!"))
+;; (setq dashboard-footer-icon (all-the-icons-octicon "dashboard"
+;; :height 1.1
+;; :v-adjust -0.05
+;; :face 'font-lock-keyword-face))
+(setq dashboard-set-footer t)
+
+
+
(use-package doom-themes
:init (load-theme 'doom-dracula t))
;; (use-package dracula-theme
@@ -488,35 +522,6 @@
;; (use-package treemacs-icons-dired
;; :config
;; (add-hook 'dired-mode-hook 'treemacs-icons-dired-mode))
-(use-package dashboard
- :ensure t
- :config
- (dashboard-setup-startup-hook)
- )
-(setq dashboard-items '((recents . 5)
- (bookmarks . 5)))
-(setq initial-buffer-choice (lambda () (get-buffer-create "*dashboard*")))
-(setq dashboard-item-names '(("Recent Files:" . "Recent Files:")
- ("Bookmarks:" . "Study:")))
-;; Set the banner
-(setq dashboard-startup-banner "~/Pictures/medicine/plague-doctor.png")
-;; Set the title
-(setq dashboard-banner-logo-title "Is that a flying flower?")
-;; (setq dashboard-init-info "Bring me your sick and wounded!")
-;; Content is not centered by default. To center, set
-(setq dashboard-set-init-info t)
-(setq dashboard-center-content t)
-(setq dashboard-set-navigator t)
-(setq dashboard-set-heading-icons t)
-(setq dashboard-set-file-icons t)
-;; To disable shortcut "jump" indicators for each section, set
-(setq dashboard-show-shortcuts nil)
-;; (setq dashboard-footer-messages '("Dashboard is pretty cool!"))
-;; (setq dashboard-footer-icon (all-the-icons-octicon "dashboard"
-;; :height 1.1
-;; :v-adjust -0.05
-;; :face 'font-lock-keyword-face))
-(setq dashboard-set-footer t)
(custom-set-variables