emacs - Rebind C-x 2 and 3

This commit is contained in:
madmaurice 2017-11-05 22:17:03 +01:00
parent 9d796f51fa
commit 1ea748bdfc

View file

@ -43,6 +43,15 @@
;; Set frame title
(setq frame-title-format "%b (%m)")
;; Rebind C-x 2 and 3
(global-set-key (kbd "C-x 2")
(lambda ()
(interactive)
(select-window (split-window-vertically))))
(global-set-key (kbd "C-x 3")
(lambda ()
(interactive)
(select-window (split-window-horizontally))))
;; Default frame size
(setq initial-frame-alist