Revert 5c46a5e68
& fix treemacs-evil load order
I misunderstood the purpose of the new keybinds. They are actually fine. Also fixes the config load order for treemacs-evil caused by weird use-package + :after semantics. Closes #5056
This commit is contained in:
parent
4d0ac5f46c
commit
b9e0ee2954
1 changed files with 3 additions and 7 deletions
|
@ -51,7 +51,8 @@ This must be set before `treemacs' has loaded.")
|
|||
|
||||
(use-package! treemacs-evil
|
||||
:when (featurep! :editor evil +everywhere)
|
||||
:after treemacs
|
||||
:defer t
|
||||
:init (after! treemacs (require 'treemacs-evil))
|
||||
:config
|
||||
(define-key! evil-treemacs-state-map
|
||||
[return] #'treemacs-RET-action
|
||||
|
@ -60,12 +61,7 @@ This must be set before `treemacs' has loaded.")
|
|||
;; REVIEW Fix #1875 to be consistent with C-w {v,s}, but this should really
|
||||
;; be considered upstream.
|
||||
"o v" #'treemacs-visit-node-horizontal-split
|
||||
"o s" #'treemacs-visit-node-vertical-split
|
||||
;; REVIEW Fix #5056: treemacs-evil changed h/l to close/open folds, which is
|
||||
;; substantially less useful than traversing up/down the tree,
|
||||
;; especially when TAB already exists for toggle folds.
|
||||
"h" #'treemacs-root-up
|
||||
"l" #'treemacs-root-down))
|
||||
"o s" #'treemacs-visit-node-vertical-split))
|
||||
|
||||
|
||||
(use-package! treemacs-projectile
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue