diff options
-rw-r--r-- | emacs.d/init-bindings.el | 6 | ||||
-rw-r--r-- | emacs.d/init.el | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/emacs.d/init-bindings.el b/emacs.d/init-bindings.el index 57586101f2b1..d60c1cbc037b 100644 --- a/emacs.d/init-bindings.el +++ b/emacs.d/init-bindings.el @@ -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 diff --git a/emacs.d/init.el b/emacs.d/init.el index a80eb8133920..827eb859b24c 100644 --- a/emacs.d/init.el +++ b/emacs.d/init.el @@ -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") |