aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Emacs/.config/emacs/config.org13
1 files changed, 3 insertions, 10 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org
index 807f6bb..161e4cd 100644
--- a/Emacs/.config/emacs/config.org
+++ b/Emacs/.config/emacs/config.org
@@ -1296,11 +1296,9 @@ most repositories nowadays.
#+begin_src emacs-lisp
(use-package rg
:after grep
- :commands (rg +rg/search-in-new-frame)
:general
(leader
- "sr" #'rg
- "sR" #'+rg/search-in-new-frame)
+ "sR" #'rg)
(:keymaps 'rg-mode-map
"]]" #'rg-next-file
"[[" #'rg-prev-file
@@ -1312,13 +1310,8 @@ most repositories nowadays.
rg-show-header t
rg-custom-type-aliases nil
rg-default-alias-fallback "all"
- rg-buffer-name "*ripgrep*")
- :config
- (defun +rg/search-in-new-frame ()
- (interactive)
- (let ((frame (make-frame)))
- (select-frame frame)
- (call-interactively #'rg))))
+ rg-buffer-name "*ripgrep*"))
+#+end_src
#+end_src
* Applications
** Dashboard