spacemacs-core: revert layout-double-columns and layout-triple-columns

This commit is contained in:
syl20bnr 2015-09-11 00:05:08 -04:00
parent 82be34d36f
commit 30e6d213aa

View file

@ -434,6 +434,21 @@ argument takes the kindows rotate backwards."
(let ((newbuf (generate-new-buffer-name "untitled"))) (let ((newbuf (generate-new-buffer-name "untitled")))
(switch-to-buffer newbuf))) (switch-to-buffer newbuf)))
(defun spacemacs/layout-triple-columns ()
" Set the layout to triple columns. "
(interactive)
(golden-ratio-mode 0)
(delete-other-windows)
(dotimes (i 2) (split-window-right))
(balance-windows))
(defun spacemacs/layout-double-columns ()
" Set the layout to double columns. "
(interactive)
(golden-ratio-mode 1)
(delete-other-windows)
(split-window-right))
(defun spacemacs/home () (defun spacemacs/home ()
"Go to home Spacemacs buffer" "Go to home Spacemacs buffer"
(interactive) (interactive)