I'm trying to pass my R coding workflow to Emacs, but I'm not completely satisfied with the windows' layout.

The basic layout to start should be the classic's Rstudio layout. In the ESS manual they explain how to do it using display-buffer-alist. However, I think this variable is heavily modified by the doom's popup rules.

I tried this config, but for the moment the help[R] and R dired buffers disappear when I press q or ESC and they appear in the wrong order

enter image description here

(set-popup-rule! "^\\*R dired"    :action '(display-buffer-in-side-window) :side 'right :slot -1 :width 0.33 :quit nil :ttl 0)
(set-popup-rule! "^\\*R" :action '(display-buffer-in-side-window) :side 'bottom :width 0.5 :quit nil :ttl nil)
(set-popup-rule! "^\\*help\\[R" :action '(display-buffer-in-side-window) :side 'right :slot 1 :width 0.33 :quit nil :ttl 0)

What am I missing?



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.