spacemacs-core: revert layout-double-columns and layout-triple-columns
This commit is contained in:
parent
82be34d36f
commit
30e6d213aa
1 changed files with 15 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Reference in a new issue