|
|
@ -285,14 +285,35 @@
|
|
|
|
(embark-collect-mode . consult-preview-at-point-mode))
|
|
|
|
(embark-collect-mode . consult-preview-at-point-mode))
|
|
|
|
#+end_src
|
|
|
|
#+end_src
|
|
|
|
|
|
|
|
|
|
|
|
* Utilities
|
|
|
|
* Editor Enhancements
|
|
|
|
** ripgrep
|
|
|
|
** ripgrep
|
|
|
|
|
|
|
|
[[https://github.com/dajva/rg.el][rg repo]]
|
|
|
|
#+begin_src emacs-lisp
|
|
|
|
#+begin_src emacs-lisp
|
|
|
|
(use-package rg
|
|
|
|
(use-package rg
|
|
|
|
:bind
|
|
|
|
:bind
|
|
|
|
("C-c s" . rg-menu))
|
|
|
|
("C-c s" . rg-menu))
|
|
|
|
#+end_src
|
|
|
|
#+end_src
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
** Buffer management
|
|
|
|
|
|
|
|
[[https://github.com/alphapapa/bufler.el][Bufler repo]]
|
|
|
|
|
|
|
|
#+begin_src emacs-lisp
|
|
|
|
|
|
|
|
(use-package bufler
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
(defun sap/bufler-one-window (&optional force-refresh)
|
|
|
|
|
|
|
|
(interactive "P")
|
|
|
|
|
|
|
|
(bufler-list)
|
|
|
|
|
|
|
|
(delete-other-windows)
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(global-set-key (kbd "C-x C-b") 'sap/bufler-one-window)
|
|
|
|
|
|
|
|
#+end_src
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
** Hydra
|
|
|
|
|
|
|
|
[[https://github.com/abo-abo/hydra][Hydra repo]]
|
|
|
|
|
|
|
|
#+begin_src emacs-lisp
|
|
|
|
|
|
|
|
(use-package hydra)
|
|
|
|
|
|
|
|
#+end_src
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* next
|
|
|
|
* next
|
|
|
|
#+begin_src emacs-lisp
|
|
|
|
#+begin_src emacs-lisp
|
|
|
|