Compare commits

...

2 Commits

Author SHA1 Message Date
Jeremy Dormitzer
5b4ea43ccb Ensure hl-line-mode is on in magit buffers 2021-02-20 11:53:40 -05:00
Jeremy Dormitzer
bbfd3f6192 Don't use Chemacs 2021-02-20 11:52:15 -05:00
24 changed files with 25 additions and 7 deletions

View File

@ -1 +0,0 @@
modular

View File

@ -1,3 +0,0 @@
(("modular" . ((user-emacs-directory . "~/.emacs.modular")))
("old" . ((user-emacs-directory . "~/.emacs.old")))
("doom" . ((user-emacs-directory . "~/doom-emacs"))))

View File

@ -2,6 +2,8 @@
(use-package dashboard (use-package dashboard
:demand t :demand t
:config :config
(when (file-exists-p (expand-file-name "~/Sync/pictures/hallows.png"))
(setq dashboard-startup-banner (expand-file-name "~/Sync/pictures/hallows.png")))
(dashboard-setup-startup-hook) (dashboard-setup-startup-hook)
:general :general
('normal dashboard-mode-map ('normal dashboard-mode-map
@ -13,7 +15,13 @@
"gr" #'dashboard-refresh-buffer "gr" #'dashboard-refresh-buffer
"q" #'quit-window "q" #'quit-window
"r" #'dashboard-jump-to-recent-files "r" #'dashboard-jump-to-recent-files
"p" #'dashboard-jump-to-projects
"{" #'dashboard-previous-section "{" #'dashboard-previous-section
"}" #'dashboard-next-section)) "}" #'dashboard-next-section)
:custom
(dashboard-items '((recents . 5) (projects . 5)))
(dashboard-set-heading-icons t)
(dashboard-set-file-icons t)
(dashboard-set-navigator t))
(provide 'init-dashboard) (provide 'init-dashboard)

View File

@ -0,0 +1,7 @@
;; Make Dired even better
(use-package dired
:straight (:type built-in)
:config
(evil-collection-dired-setup))
(provide 'init-dired)

View File

@ -4,6 +4,7 @@
(leader-def-key "g" '(nil :which-key "git")) (leader-def-key "g" '(nil :which-key "git"))
:config :config
(evil-collection-magit-setup) (evil-collection-magit-setup)
(add-hook 'magit-mode-hook #'hl-line-mode)
:general :general
(leader-map "gs" #'magit-status (leader-map "gs" #'magit-status
"gg" #'magit-file-dispatch "gg" #'magit-file-dispatch

View File

@ -0,0 +1,5 @@
;; Profiling startup time
(use-package esup
:commands esup)
(provide 'init-profiler)

View File

@ -1,5 +1,4 @@
;; Much-needed user interface improvements ;; Don't show ugly graphical UI elements
(when (window-system) (when (window-system)
(tool-bar-mode -1) (tool-bar-mode -1)
(scroll-bar-mode -1) (scroll-bar-mode -1)

View File

@ -28,11 +28,13 @@
(require 'init-evil) (require 'init-evil)
(require 'init-keybindings) (require 'init-keybindings)
(require 'init-auth) (require 'init-auth)
(require 'init-profiler)
(require 'init-dashboard) (require 'init-dashboard)
(require 'init-dotfiles) (require 'init-dotfiles)
(require 'init-buffers) (require 'init-buffers)
(require 'init-files) (require 'init-files)
(require 'init-windows) (require 'init-windows)
(require 'init-dired)
(require 'init-completion) (require 'init-completion)
(require 'init-ui) (require 'init-ui)
(require 'init-projects) (require 'init-projects)