I want to write a shackle rule to split the current window (top/bottom) instead of splitting the root window to display the new buffer.
Here is what I'm getting:
+-------+--------+
| |current |
| | |
+-------+--------+
| new |
+----------------+
here is the associated code
;; shackle
(setq shackle-rules '(("*Flycheck errors*" :regexp t :align 'below :size 10)
("*compilation*" :regexp t :align 'below :size 0.4)))
this is what I want:
+-------+--------+
| |current |
| | |
| +--------+
| | new |
+-------+--------+
:align
is the wrong action for that then, you'll have to write a custom one.