Side
This commit is contained in:
parent
9e1aa06a9e
commit
eb495b139b
1 changed files with 4 additions and 5 deletions
|
|
@ -146,14 +146,12 @@ Found this [[https://emacs.stackexchange.com/questions/21770/automatically-switc
|
||||||
(defun split-and-follow-horizontally ()
|
(defun split-and-follow-horizontally ()
|
||||||
(interactive)
|
(interactive)
|
||||||
(split-window-below)
|
(split-window-below)
|
||||||
(balance-windows)
|
(balance-windows))
|
||||||
(other-window nil))
|
|
||||||
|
|
||||||
(defun split-and-follow-vertically ()
|
(defun split-and-follow-vertically ()
|
||||||
(interactive)
|
(interactive)
|
||||||
(split-window-right)
|
(split-window-right)
|
||||||
(balance-windows)
|
(balance-windows))
|
||||||
(other-window nil))
|
|
||||||
|
|
||||||
(use-package emacs
|
(use-package emacs
|
||||||
:bind (:map ctl-x-map
|
:bind (:map ctl-x-map
|
||||||
|
|
@ -555,7 +553,7 @@ This package implements hiding or abbreviation of the modeline displays (lighter
|
||||||
'(("h" "~/" "Home")
|
'(("h" "~/" "Home")
|
||||||
("d" "~/Downloads/" "Downloads")))
|
("d" "~/Downloads/" "Downloads")))
|
||||||
:config
|
:config
|
||||||
(dirvish-peek-mode) ; Preview files in minibuffer
|
;;(dirvish-peek-mode) ; Preview files in minibuffer
|
||||||
(dirvish-side-follow-mode) ; similar to `treemacs-follow-mode'
|
(dirvish-side-follow-mode) ; similar to `treemacs-follow-mode'
|
||||||
(setq dirvish-mode-line-format
|
(setq dirvish-mode-line-format
|
||||||
'(:left (sort symlink) :right (omit yank index)))
|
'(:left (sort symlink) :right (omit yank index)))
|
||||||
|
|
@ -569,6 +567,7 @@ This package implements hiding or abbreviation of the modeline displays (lighter
|
||||||
(setq dirvish-default-layout '(0 0.4 0.6))
|
(setq dirvish-default-layout '(0 0.4 0.6))
|
||||||
:bind ; Bind `dirvish-fd|dirvish-side|dirvish-dwim' as you see fit
|
:bind ; Bind `dirvish-fd|dirvish-side|dirvish-dwim' as you see fit
|
||||||
(("C-c f" . dirvish-dwim)
|
(("C-c f" . dirvish-dwim)
|
||||||
|
("C-c o f" . dirvish-side)
|
||||||
:map dirvish-mode-map ; Dirvish inherits `dired-mode-map'
|
:map dirvish-mode-map ; Dirvish inherits `dired-mode-map'
|
||||||
(";" . dired-up-directory) ; So you can adjust `dired' bindings here
|
(";" . dired-up-directory) ; So you can adjust `dired' bindings here
|
||||||
("?" . dirvish-dispatch) ; [?] a helpful cheatsheet
|
("?" . dirvish-dispatch) ; [?] a helpful cheatsheet
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue