This commit is contained in:
Marcus Kammer 2020-08-05 08:46:00 +02:00
commit 0dfbda9452
3 changed files with 12 additions and 2 deletions

View file

@ -16,7 +16,7 @@
("37768a79b479684b0756dec7c0fc7652082910c37d8863c35b702db3f16000f8" "06bf0822aa77ea498bbd6038b59ad96fca43b272b49b18ab024218881ba134d1" "6e933f1668e124ec17fc7b6547f65ba760e06efb568a6c8091c600c67827e592" "7f6d4aebcc44c264a64e714c3d9d1e903284305fd7e319e7cb73345a9994f5ef" default)))
'(default-frame-alist
(quote
((font . "Fira Code-11")
((font . "Fira Code-13")
(alpha . 100)
(undecorated)
(width . 85)

10
init.el
View file

@ -29,3 +29,13 @@
(put 'narrow-to-page 'disabled nil)
(load "bundle--mk")
(defun me/split-windows-horizontal ()
; Split windows horizontal by equal width
(interactive)
(defvar count-windows 3)
(let ((width (/ (window-total-width) count-windows)))
(defvar count 0)
(while (< count count-windows)
(split-window-right (- 0 width))
(setq count (1+ count)))))

View file

@ -300,7 +300,7 @@ initial_window_height 45
#: suffix of "c" on the width/height values to have them interpreted
#: as number of cells instead of pixels.
enabled_layouts Tall, Horizontal, Splits
enabled_layouts Horizontal, Vertical
#: The enabled window layouts. A comma separated list of layout names.
#: The special value all means all layouts. The first listed layout