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

View file

@ -48,6 +48,9 @@
(custom-download-script "https://raw.github.com/dimitri/switch-window/master/switch-window.el"
"switch-window.el")
(custom-download-script "https://raw.github.com/doitian/iy-go-to-char/master/iy-go-to-char.el"
"goto-char.el")
;; NYAN CAT!
(custom-clone-git "https://github.com/TeMPOraL/nyan-mode" "nyan-mode")
(load "~/.emacs.d/nyan-mode/nyan-mode.el")