summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2023-02-28 12:32:18 +0800
committerJSDurand <mmemmew@gmail.com>2023-02-28 12:32:18 +0800
commit024a2c7e8202c7e5cdbb50a8a9d4edd1986f363b (patch)
tree192116f633267f11135b37a0fec0196a0a6f7ca0
parentc44a100ea18c9eaba2d601f148488a60abd567d7 (diff)
bookmark: bind `bookmark-save` to C-x r s.
The original function for that key-binding has another associated key-binding, so it is save to replace that one.
-rw-r--r--bookmark-conf.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/bookmark-conf.el b/bookmark-conf.el
index 508fae3..b3b1d98 100644
--- a/bookmark-conf.el
+++ b/bookmark-conf.el
@@ -44,6 +44,12 @@
(define-key ctl-x-r-map (vector ?l) #'blist-list-bookmarks)
+;;; Add a binding for saving bookmarks
+
+;; This was used for `copy-to-register', but we can also use `C-x r
+;; x'.
+(define-key ctl-x-r-map (vector ?s) #'bookmark-save)
+
;;; Customizations
;;;; No strange fringe indicators