Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions modules/input/layout/+bepo.el
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,23 @@ In all cases, 'h' functions go to 'c' and 'l' ones go to 'r' so the navigation k
"s" nil
"t" nil))

(after! dirvish
;; Without this, "s" stays mapped to 'symlinks' prefix of dirvish (in the
;; 'dirvish' map, configured in (:emacs dired) module
(map! :map dirvish-mode-map "s" nil)
;; Manual rotation of the gh/gl bindings
(map! :map dirvish-mode-map
:n "gh" nil
:n "gl" nil
:n "gc" '#dirvish-subtree-up
:n "gr" '#dirvish-subtree-toggle)
(if (eq +layout-bepo-cr-rotation-style 'ergodis)
(map! :map dirvish-mode-map
:n "gh" '#revert-buffer)
(map! :map dirvish-mode-map
:n "gl" '#revert-buffer))
(+layout-bepo-rotate-keymaps '(dirvish-mode-map)))


;; Start of the Magit zone
;;
Expand Down