summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAssaf Gordon <assafgordon@gmail.com>2017-03-06 19:16:35 (GMT)
committerAssaf Gordon <assafgordon@gmail.com>2017-03-06 19:16:35 (GMT)
commitdfab316102aae48ae2116f86d6776af88748d3bb (patch)
tree1ef4c4333b7ec08d5872ceae464e411f0d1e0d4d
parent210baa0ddb70eaf6622162de867730fe4dbc0bb7 (diff)
downloaddot-files-dev/emacs-jump-char.zip
dot-files-dev/emacs-jump-char.tar.gz
dot-files-dev/emacs-jump-char.tar.bz2
emacs: add jump-chardev/emacs-jump-char
-rw-r--r--emacs7
1 files changed, 7 insertions, 0 deletions
diff --git a/emacs b/emacs
index 0e92241..d4026dc 100644
--- a/emacs
+++ b/emacs
@@ -118,3 +118,10 @@
(setq mac-command-modifier 'control)
(global-set-key [kp-delete] 'delete-char) ;; sets fn-delete to be right-delete
)
+
+
+;; 'jump-char' package
+;; enables 'M-m [CHAR]' to jump to CHAR (like VIM's f/F/t/T)
+(require 'jump-char)
+(global-set-key [(meta m)] 'jump-char-forward)
+(global-set-key [(shift meta m)] 'jump-char-backward)