1
0
Fork 0

fix(emacs): more reasonable window splitting for framework

Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
Lucas Sta Maria 2024-10-19 01:01:45 -04:00
parent 87f5c30487
commit c89e6a43da
No known key found for this signature in database
GPG key ID: F07FB16A826E3B47

View file

@ -36,12 +36,20 @@
(setq initial-scratch-message nil)
;; Line
(hl-line-mode 1)
(line-number-mode 1)
(column-number-mode 1)
(size-indication-mode 1)
(setq display-line-numbers 'relative)
;; Window splitting
(setq-default split-height-threshold
(cond ((string= (system-name) "framework") 100)
;; default emacs value
(t 80)))
(setq-default split-width-threshold
(cond ((string= (system-name) "framework") 180)
;; default emacs value
(t 160)))
;; Tabs
(setq-default tab-width 2)