Compare commits

..

2 Commits

Author SHA1 Message Date
833352540f tinkering with org mode styling 2025-11-17 21:39:57 -05:00
d0e1dcfa54 git push from emacs for jon's sake 2025-11-17 20:22:31 -05:00

52
init.el
View File

@@ -87,17 +87,18 @@
;;search across entire projects
(use-package projectile
:ensure t
:diminish projectile-mode
:config (projectile-mode)
:bind-keymap
("C-c p" . projectile-command-map)
:init
(projectile-mode +1)
:bind (:map projectile-mode-map
("C-c p" . projectile-command-map))
:config
(setq projectile-project-search-path '("~/src/"))) ;;C-c p p will search here for projects if i wanna jump between things
(when (file-directory-p "~/src")
(setq projectile-project-search-path '("~/src")))
(setq projectile-switch-project-action #'projectile-dired))
(use-package consult-projectile
:ensure t
:bind (("C-c p h" . consult-projectile)))
:bind (("C-c h" . consult-projectile)))
;;icons are required for modeline
(use-package all-the-icons
@@ -119,3 +120,40 @@
:diminish which-key-mode
:config
(setq which-key-idle-delay 1))
(use-package magit
:commands (magit-status magit-get-current-branch)
:bind (("C-x g" . magit-status)
("C-x M-g" . magit-dispatch)
("C-c M-g" . magit-file-dispatch))
:custom
(magit-display-buffer-function #'magit-display-buffer-same-window-except-diff-v1)
;; Show refined diffs for current hunk only (better performance)
(magit-diff-refine-hunk t)
;; Don't automatically revert file-visiting buffers
(magit-auto-revert-mode nil)
;; Use default terminal for SSH (if relevant)
(magit-process-find-password-functions '(magit-process-password-auth-source)))
(defun rh/org-mode-setup ()
(org-indent-mode)
(variable-pitch-mode 1)
(auto-fill-mode 0)
(visual-line-mode 1))
(use-package org
:hook (org-mode . rh/org-mode-setup)
:config
(setq org-ellipsis ""))
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(package-selected-packages nil))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)