aboutsummaryrefslogtreecommitdiff
path: root/.config/emacs/misc.el
diff options
context:
space:
mode:
authorJack Jamison <jackqjamison@gmail.com>2026-07-29 23:00:29 -0400
committerJack Jamison <jackqjamison@gmail.com>2026-07-29 23:00:29 -0400
commit244bafc426222b58d66e57d5eef7d4e2bccfddf1 (patch)
tree4466fe8d39e47ffe842a7f37abfa107a1cafdb8d /.config/emacs/misc.el
parent18b2811e9f4a9dbb75237768cee38757d1b10821 (diff)
neomacs yet again
Diffstat (limited to '.config/emacs/misc.el')
-rw-r--r--.config/emacs/misc.el43
1 files changed, 23 insertions, 20 deletions
diff --git a/.config/emacs/misc.el b/.config/emacs/misc.el
index 9239f64..b6d9a26 100644
--- a/.config/emacs/misc.el
+++ b/.config/emacs/misc.el
@@ -5,40 +5,43 @@
;; magit
(use-package magit
- :demand t
+ :ensure t
:bind (("C-x g" . magit-status))
+ :config
+ (setq vc-handled-backends (delq 'Git vc-handled-backends))
:custom
(magit-display-buffer-function #'magit-display-buffer-same-window-except-diff-v1))
;; consult
(use-package consult
+ :ensure t
:custom
(consult-preview-key nil)
:bind (("M-y" . 'consult-yank-pop) ;; Paste by selecting the kill-ring
- ("M-s" . 'consult-line) ;; Search current buffer, like swiper
- ("C-c i" . 'consult-imenu) ;; Search the imenu
- ))
-
-;; proj
-(use-package proj
- :demand t
- :config
- (global-set-key (kbd "C-x b") `proj-switch-to-buffer)
- (global-set-key (kbd "C-c b") `switch-to-buffer)
- (global-set-key (kbd "C-x k") `proj-kill-buffer)
- (global-set-key (kbd "C-c k") `kill-buffer)
- (setq proj-locations '(("~/development/" . 1) ("~/opt/" . 1) ("~/dotfiles/" . 0) ("~/dotfiles/.config/emacs/lisp/" . 1))
- proj-grep-function 'consult-ripgrep))
-
-;; editorconfig mode
-(editorconfig-mode 1)
-(add-hook 'prog-mode 'editorconfig-apply)
+ ("M-s" . 'consult-line) ;; Search current buffer swiper
+ ("C-c i" . 'consult-imenu))) ;; Search the imenu
;; helpful
(use-package helpful
- :ensure nil
+ :ensure t
:bind
([remap describe-command] . helpful-command)
([remap describe-function] . helpful-callable)
([remap describe-variable] . helpful-variable)
([remap describe-key] . helpful-key))
+
+;; editorconfig mode
+(editorconfig-mode 1)
+(add-hook 'prog-mode 'editorconfig-apply)
+
+;; proj
+;; (use-package proj
+;; :demand t
+;; :config
+;; (global-set-key (kbd "C-x b") `proj-switch-to-buffer)
+;; (global-set-key (kbd "C-c b") `switch-to-buffer)
+;; (global-set-key (kbd "C-x k") `proj-kill-buffer)
+;; (global-set-key (kbd "C-c k") `kill-buffer)
+;; (setq proj-locations '(("~/development/" . 1) ("~/opt/" . 1) ("~/dotfiles/" . 0) ("~/dotfiles/.config/emacs/lisp/" . 1))
+;; proj-grep-function 'consult-ripgrep))
+