summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2021-04-18 11:19:29 +0800
committerJSDurand <mmemmew@gmail.com>2021-04-18 11:19:29 +0800
commit060dd9b47dc6ac107cf61f590d43a227c644c644 (patch)
treef8a197f1769844325d79221b88e0682825cc97ce
parentf8326f6fb04709b46cdb5727835595d21a181241 (diff)
Repeat is wonderful
* basic.el (global-map): Bind repeat to s-z. It is wonderful to be able to repeat a command occasionally.
-rw-r--r--basic.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/basic.el b/basic.el
index 691ec9d..8110c05 100644
--- a/basic.el
+++ b/basic.el
@@ -102,6 +102,10 @@
(define-key global-map (vector ?\H-b) #'bookmark-jump)
(define-key global-map (vector ?\H-m) #'bookmark-set)
+;;; Repeat
+
+(define-key global-map (vector ?\s-z) #'repeat)
+
;;; where to find the C source code of Emacs.
(setq find-function-C-source-directory "/Users/durand/w.emacs.d/emacs/src/")