Compare commits

..

No commits in common. "5b4ea43ccb4ac4254abc0c5696239d7ec17f553f" and "05ceea0650a8d181b254aad7804e877ab82620b0" have entirely different histories.

24 changed files with 7 additions and 25 deletions

1
emacs/.emacs-profile Normal file
View File

@ -0,0 +1 @@
modular

3
emacs/.emacs-profiles.el Normal file
View File

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

View File

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

View File

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

View File

@ -2,8 +2,6 @@
(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
@ -15,13 +13,7 @@
"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

@ -4,7 +4,6 @@
(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

@ -1,4 +1,5 @@
;; Don't show ugly graphical UI elements ;; Much-needed user interface improvements
(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,13 +28,11 @@
(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)