summaryrefslogtreecommitdiff
path: root/.emacs.d
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-10-08 18:52:38 +0300
committerThanos Apollo <[email protected]>2023-10-08 18:52:38 +0300
commit81d3be863e3df019aa76de4a17cc30c014bdcb68 (patch)
tree53f6d0b4e5528bdd6fe31e35acea4e5622b1fb13 /.emacs.d
parent2802813d23c992a1513c474429312747c0232953 (diff)
emacs:(tools) Update keybindings for grep & find (consult)
Diffstat (limited to '.emacs.d')
-rw-r--r--.emacs.d/modules/thanos-tools.el8
1 files changed, 3 insertions, 5 deletions
diff --git a/.emacs.d/modules/thanos-tools.el b/.emacs.d/modules/thanos-tools.el
index 4678c22..b6c50ef 100644
--- a/.emacs.d/modules/thanos-tools.el
+++ b/.emacs.d/modules/thanos-tools.el
@@ -64,8 +64,8 @@
(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 global-map (kbd "C-c f") 'consult-grep)
-(define-key global-map (kbd "C-c F") 'consult-find)
+(define-key global-map (kbd "C-c g") 'consult-grep)
+(define-key global-map (kbd "C-c f") 'consult-find)
(define-key project-prefix-map (kbd "b") 'consult-project-buffer)
(define-key global-map (kbd "M-y") 'consult-yank-from-kill-ring)
@@ -93,9 +93,7 @@
(define-key project-prefix-map (kbd "s") 'project-magit)
(setf magit-display-buffer-function #'magit-display-buffer-same-window-except-diff-v1)
-(define-prefix-command 'thanos/magit)
-(global-set-key (kbd "C-c g") 'thanos/magit)
-(define-key thanos/magit (kbd "c") 'magit-clone)
+
;; shell scripting
(define-auto-insert