Commit 0c0dd33582fa

Vincent Demeester <vincent@sbr.pm>
2015-04-20 17:08:41
Add keybinding for easier resize of windows
1 parent c793ef1
Changed files (1)
.emacs.d
.emacs.d/emacs.org
@@ -809,7 +809,7 @@
        (define-key vde/launcher-map "u" #'mu4e-update-mail-and-index)
      #+END_SRC
 
-**** Window moving
+**** Window moving & resizing
 
      Use ace-window to switch easily windows.
 
@@ -822,6 +822,16 @@
            (setq aw-background nil))
      #+END_SRC
 
+     Use =shift + control + arrows= to change the size of windows.
+
+     #+BEGIN_SRC emacs-lisp
+       (global-set-key (kbd "S-C-<left>") 'shrink-window-horizontally)
+       (global-set-key (kbd "S-C-<right>") 'enlarge-window-horizontally)
+       (global-set-key (kbd "S-C-<up>") 'enlarge-window)
+       (global-set-key (kbd "S-C-<down>") 'shrink-window)
+     #+END_SRC
+
+
 **** Ace jump
 
      #+BEGIN_SRC emacs-lisp