diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index 20a723b..5871d93 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -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