Skip to content

Commit

Permalink
tweak(window): add Nix-REPL to the REPLs display rule
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Nov 26, 2023
1 parent ee8f74a commit ca2923c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion modules/me-window.el
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
:init
(+map! "wa" #'ace-window))

;; Help/info buffers
(add-to-list
'display-buffer-alist
`(,(rx bol "*" (or "info" "Printing Help" "Org Entity Help" "General Keybindings" (seq (or "Help" "helpful" "eldoc" "Tcl help" "Man " "WoMan ") (* any))) "*")
Expand Down Expand Up @@ -47,6 +48,7 @@
(side . right)
(window-width . 82)))

;; Terminal buffers
(add-to-list
'display-buffer-alist
`(,(rx bol "*" (or "eshell" "terminal" "shell" "Shell Command Output" "Async Shell Command") "*" eol)
Expand All @@ -55,10 +57,12 @@
(reusable-frames . visible) ;;
(window-height . 0.3)))

;; REPL buffers
(add-to-list
'display-buffer-alist
`(,(rx bol "*"
(or "scheme" "ielm" "Python" "Inferior Octave" "maxima" "imaxima" "lua" "inferior-lisp" "prolog" "gnuplot"
(or "scheme" "ielm" "Python" "Inferior Octave" "maxima" "imaxima" "lua"
"inferior-lisp" "prolog" "gnuplot" "Nix-REPL"
(seq (or (seq "R" (opt ":" (any digit))) "julia") ":" (* any)))
"*" eol)
(display-buffer-in-side-window)
Expand Down

0 comments on commit ca2923c

Please sign in to comment.