Skip to content

Instantly share code, notes, and snippets.

@suzuki
Created May 11, 2012 03:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save suzuki/2657241 to your computer and use it in GitHub Desktop.
Save suzuki/2657241 to your computer and use it in GitHub Desktop.
split-window-vertically-one-third
(defun split-window-vertically-one-third()
"Split the selected window into two windows, one above the other, size is one third of window-heihgt"
(interactive)
(split-window-vertically (/ (window-height) 3)))
(global-set-key "\C-x2" 'split-window-vertically-one-third)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment