Config: add basic magit config
This commit is contained in:
@@ -41,7 +41,8 @@
|
||||
"g" 'consult-ripgrep
|
||||
"e" 'consult-flycheck
|
||||
"l" 'consult-locate
|
||||
"m" 'consult-fd-global
|
||||
"h" 'consult-fd-home
|
||||
"m" 'consult-man
|
||||
"d" 'my-open-current-directory
|
||||
"j" 'consult-jinx
|
||||
"k" 'consult-kmacro
|
||||
@@ -120,6 +121,14 @@
|
||||
"C-f" 'dired-find-file
|
||||
"<SPC>" 'dirvish-layout-toggle)
|
||||
|
||||
;; magit
|
||||
(general-def magit-mode-map
|
||||
"C-<tab>" 'my-magit-toggle-parent-section
|
||||
"p" 'magit-section-backward-sibling
|
||||
"M-p" 'magit-section-backward
|
||||
"n" 'magit-section-forward-sibling
|
||||
"M-n" 'magit-section-forward)
|
||||
|
||||
;; flycheck
|
||||
(general-def flycheck-mode-map
|
||||
"M-{" 'flycheck-previous-error
|
||||
|
||||
Reference in New Issue
Block a user