.emacs.d

My Emacs configuration files.
Log | Files | Refs | README

commit 653f792ead8917a40c2583397a6510936be91386
parent 7805caf3646fc19588eee642608fb895f05cef33
Author: Hugo Soucy <hugo.soucy@savoirfairelinux.com>
Date:   Tue, 16 Aug 2016 09:48:07 -0400

Add key bindings to moving faster between windows.

Diffstat:
M.gitignore | 1+
Mlisp/key-bindings.el | 8+++++---
2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/.gitignore b/.gitignore @@ -19,3 +19,4 @@ games games/ viper bookmarks +eshell/ diff --git a/lisp/key-bindings.el b/lisp/key-bindings.el @@ -47,10 +47,12 @@ ;; Make CTRL-Z Redo (defalias 'redo 'undo-tree-redo) - (global-set-key (kbd "C-S-z") 'redo) -;; Alternative to set-mark-command -(global-set-key (kbd "C-.") 'set-mark-command) +;; Moving faster between windows +(global-set-key (kbd "C-c <up>") 'windmove-up) +(global-set-key (kbd "C-c <right>") 'windmove-right) +(global-set-key (kbd "C-c <down>") 'windmove-down) +(global-set-key (kbd "C-c <left>") 'windmove-left) (provide 'key-bindings)