dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit e2e6d52cf3089d0888294b19914301a5851fa9a0
parent 8727c9b289f56b65c8ad12e9f46515308a1f124f
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date:   Fri,  6 Jun 2014 12:59:23 +0200

added window-number

Diffstat:
M.emacs.d/init.el | 11+++++++----
1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/.emacs.d/init.el b/.emacs.d/init.el @@ -224,11 +224,14 @@ (setq x-select-enable-clipboard t) ; Navigate windows -(global-set-key (kbd "C-x h") 'windmode-left) -(global-set-key (kbd "C-x j") 'windmode-down) -(global-set-key (kbd "C-x k") 'windmode-up) -(global-set-key (kbd "C-x l") 'windmode-right) +(global-set-key (kbd "C-x h") 'windmove-left) +(global-set-key (kbd "C-x j") 'windmove-down) +(global-set-key (kbd "C-x k") 'windmove-up) +(global-set-key (kbd "C-x l") 'windmove-right) (global-set-key (kbd "C-x C-x") 'other-window) +(require 'window-number) +(window-number-mode 1) +(global-set-key (kbd "C-x o") 'window-number-switch) (setq windmove-wrap-around t) ; winner-mode provides C-<left> to get back to previous window layout