diff options
author | David Morgan <djm_uk@protonmail.com> | 2024-11-07 15:56:08 +0000 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2024-11-07 15:56:08 +0000 |
commit | 40a1f33641efca71bfac125a12b438ddf7cced3c (patch) | |
tree | 3d07b3e0ac0449362b338c8ff29c193a6a293647 /.emacs.d/lisp/init-search.el | |
parent | 21dc0959d9d96001361e7dd4b5df138ddc864394 (diff) | |
download | dotfiles-40a1f33641efca71bfac125a12b438ddf7cced3c.tar.gz |
Remove most symbol/thing-at-point commands and bindings
Diffstat (limited to '.emacs.d/lisp/init-search.el')
-rw-r--r-- | .emacs.d/lisp/init-search.el | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/.emacs.d/lisp/init-search.el b/.emacs.d/lisp/init-search.el index 3125e74..f82d527 100644 --- a/.emacs.d/lisp/init-search.el +++ b/.emacs.d/lisp/init-search.el @@ -27,7 +27,6 @@ (isearch-message-properties '(read-only t cursor-intangible t face isearch-prompt)) :bind-keymap ("C-c s" . search-map) ;; M-s clashes with paredit/smartparens bindings :bind - ("C-*" . isearch-forward-symbol-at-point) (:map search-map ("<" . isearch-beginning-of-buffer) (">" . isearch-end-of-buffer))) @@ -74,9 +73,6 @@ (use-package deadgrep :config - (defun deadgrep-symbol-at-point () - (interactive) - (deadgrep (thing-at-point 'symbol))) (defun deadgrep-current-directory (search-term) (interactive (list (deadgrep--read-search-term))) (deadgrep search-term (file-name-directory buffer-file-name))) @@ -94,7 +90,6 @@ :bind ("C-c c d" . deadgrep) ("C-c c M-d" . deadgrep-all) - ("C-S-z" . deadgrep-symbol-at-point) ("C-c c C-d" . deadgrep-current-directory) (:map deadgrep-mode-map ("e" . deadgrep-edit-mode) @@ -103,8 +98,7 @@ (:map search-map ("d" . deadgrep) ("M-d" . deadgrep-all) - ("C-d" . deadgrep-current-directory) - ("D" . deadgrep-symbol-at-point))) + ("C-d" . deadgrep-current-directory))) (use-package affe :config |