Skip to content

Instantly share code, notes, and snippets.

@olive42
Created June 8, 2012 07:20
Show Gist options
  • Save olive42/2894191 to your computer and use it in GitHub Desktop.
Save olive42/2894191 to your computer and use it in GitHub Desktop.
Emacs Lisp: split frame in 3 balanced windows horizontally
(defun oth-split-and-balance ()
"Split frame in 3 balanced windows horizontally."
(interactive)
(split-window-horizontally)
(split-window-horizontally)
(balance-windows))
(global-set-key [f5] 'oth-split-and-balance)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment