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-07 03:52:16 (GMT)
commit48e3f68058a0002aee5f8c844f5710312d733e65 (patch)
treedf1f7aa5d387863873c5d05cf556e3642e26bb1d
parent4f3fb068090869b1b30f522694af43c687afab15 (diff)
downloaddot-files-48e3f68058a0002aee5f8c844f5710312d733e65.zip
dot-files-48e3f68058a0002aee5f8c844f5710312d733e65.tar.gz
dot-files-48e3f68058a0002aee5f8c844f5710312d733e65.tar.bz2
emacs: add jump-char
-rw-r--r--emacs6
1 files changed, 6 insertions, 0 deletions
diff --git a/emacs b/emacs
index 2366b1b..15d9b9b 100644
--- a/emacs
+++ b/emacs
@@ -152,3 +152,9 @@
(ispell-word)
)
(global-set-key (kbd "M-<f8>") 'flyspell-check-next-highlighted-word)
+
+;; '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)