From 39628711b7274c6d514156dc35af8180eb5131a6 Mon Sep 17 00:00:00 2001 From: pupbrained Date: Sat, 5 Oct 2024 01:25:11 -0400 Subject: [PATCH] more git stuff --- config.org | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/config.org b/config.org index 065eccc..0606275 100644 --- a/config.org +++ b/config.org @@ -162,7 +162,10 @@ evil-want-keybinding nil) :config (evil-mode 1) - (evil-define-key 'normal 'global (kbd "K") #'eldoc-box-help-at-point)) + (evil-define-key 'normal 'global (kbd "K") #'eldoc-box-help-at-point) + (evil-define-key 'normal 'global (kbd "gp") #'diff-hl-show-hunk) + (evil-define-key 'normal 'global (kbd "gr") #'diff-hl-revert-hunk) + (evil-define-key 'normal 'global (kbd "gs") #'diff-hl-stage-current-hunk)) (use-package evil-collection :ensure t @@ -286,7 +289,7 @@ ((eq system-type 'gnu/linux) (set-face-attribute 'default nil :font "Iosevka Comfy Medium-12") (set-face-attribute 'fixed-pitch nil :font "Iosevka Comfy Medium-12") - (set-face-attribute 'variable-pitch nil :font "Iosevka Comfy Motion Duo-14") + (set-face-attribute 'variable-pitch nil :font "Iosevka Comfy Motion Duo Md-14") (setq default-frame-alist '((font . "Iosevka Comfy Medium-12") (undecorated . t))))) @@ -349,6 +352,12 @@ magit-restore-window-configuration t) :bind ("C-x g" . magit-status)) + (use-package diff-hl + :ensure t + :hook ((magit-post-refresh . diff-hl-magit-post-refresh)) + :config + (global-diff-hl-mode)) + (use-package git-gutter :ensure t :config