emacs: Some bindings and word jumping

This commit is contained in:
Vincent Ambo 2013-07-15 01:06:32 +02:00
parent a5f4b2f479
commit 23806edd3e
2 changed files with 9 additions and 0 deletions

View file

@ -15,6 +15,12 @@
;; Jump to a definition in the current file. (Protip: this is awesome.)
(global-set-key (kbd "C-x C-i") 'imenu)
;; Ace-jump-mode
(global-set-key (kbd "M-j") 'ace-jump-char-mode)
;; Jump to next occurence of char
(global-set-key (kbd "M-m") 'iy-go-to-char)
;; Window switching. (C-x o goes to the next window)
(windmove-default-keybindings) ;; Shift+direction