summaryrefslogtreecommitdiff
path: root/.emacs.d/modules/thanos-devtools.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-09-09 21:07:35 +0300
committerThanos Apollo <[email protected]>2023-09-09 21:07:35 +0300
commit1377325582ef8c8a1a2720172e3f5a9a854dfd51 (patch)
tree8202856125302b8c580c52eca13c8706a1172991 /.emacs.d/modules/thanos-devtools.el
parent38c3cc67f93c9c78849bc707fa60184485c3616b (diff)
devtools.el: Add keybinding for consult-register-store
Diffstat (limited to '.emacs.d/modules/thanos-devtools.el')
-rw-r--r--.emacs.d/modules/thanos-devtools.el6
1 files changed, 1 insertions, 5 deletions
diff --git a/.emacs.d/modules/thanos-devtools.el b/.emacs.d/modules/thanos-devtools.el
index b24e92c..74ac05e 100644
--- a/.emacs.d/modules/thanos-devtools.el
+++ b/.emacs.d/modules/thanos-devtools.el
@@ -60,13 +60,9 @@
(define-key global-map (kbd "C-x r d") 'bookmark-delete)
(define-key global-map (kbd "C-x r C-r") 'bookmark-rename)
(define-key global-map (kbd "C-x r .") 'consult-register)
+(define-key global-map (kbd "C-x r s") 'consult-register-store)
(define-key corfu-map (kbd "RET") nil) ;; Leave my enter alone
-(define-prefix-command 'thanos/consult-register)
-(define-key global-map (kbd "C-c r") 'thanos/consult-register)
-(define-key thanos/consult-register (kbd ".") 'consult-register)
-(define-key thanos/consult-register (kbd "s") 'consult-register-store)
-
(setf register-preview-delay 0.5
register-preview-function #'consult-register-format)