emacs: Some bindings and word jumping
This commit is contained in:
parent
a5f4b2f479
commit
23806edd3e
2 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue