mirror of
https://github.com/librephoenix/nixos-config
synced 2025-07-06 06:52:13 +05:30
Update did something weird w magit, evil-collection and annalist
This commit is contained in:
parent
39484ad9fd
commit
0c1fec94f3
3 changed files with 24 additions and 2 deletions
|
@ -836,6 +836,18 @@ https://github.com/magit/magit/issues/460 (@cpitclaudel)."
|
|||
(advice-add 'magit-process-environment
|
||||
:filter-return #'~/magit-process-environment)
|
||||
|
||||
(evil-set-initial-state 'magit-status-mode 'normal)
|
||||
(evil-set-initial-state 'magit-log-mode 'normal)
|
||||
(evil-define-key 'normal magit-status-mode-map
|
||||
"j" 'evil-next-visual-line
|
||||
"k" 'evil-previous-visual-line
|
||||
"c" 'magit-commit
|
||||
"s" 'magit-stage
|
||||
"u" 'magit-unstage
|
||||
"l" 'magit-log
|
||||
"F" 'magit-pull
|
||||
"p" 'magit-push)
|
||||
|
||||
;;;------ dired configuration ------;;;
|
||||
|
||||
(add-hook 'dired-mode-hook 'all-the-icons-dired-mode)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue