Move undo-tree popup to top
This commit is contained in:
parent
eb4a418232
commit
ab21ac1723
@ -185,6 +185,13 @@
|
|||||||
|
|
||||||
;; Configure undo-tree.
|
;; Configure undo-tree.
|
||||||
(after! undo-tree
|
(after! undo-tree
|
||||||
|
;; Doom's default is to popup on the left, but undo-tree can get really wide.
|
||||||
|
;; It would actually be better to open it in its own window as is the default,
|
||||||
|
;; but then the diff window has annoying graphical glitches which for some
|
||||||
|
;; reason don't happen when a popup is used with the diff window configuration
|
||||||
|
;; hack further below.
|
||||||
|
(set-popup-rule! undo-tree-visualizer-buffer-name
|
||||||
|
:slot 2 :side 'top :size 20 :select t :quit t)
|
||||||
;; Doom just gives up on the diff visualizer, because it is impossible to work
|
;; Doom just gives up on the diff visualizer, because it is impossible to work
|
||||||
;; around undo-tree's window management opinions in a consistent way. For now,
|
;; around undo-tree's window management opinions in a consistent way. For now,
|
||||||
;; hack it to work in some sensible way.
|
;; hack it to work in some sensible way.
|
||||||
|
Loading…
Reference in New Issue
Block a user