Use deadgrep and fix keybinding
This commit is contained in:
parent
fc7e7dc7e4
commit
e8981a87b7
@ -19,7 +19,8 @@
|
||||
|
||||
(defvar emodule/em-emacs-packages
|
||||
|
||||
'(discover-my-major
|
||||
'(deadgrep
|
||||
discover-my-major
|
||||
help+
|
||||
help-fns+
|
||||
help-mode+
|
||||
@ -37,6 +38,14 @@
|
||||
(defun emodule/em-emacs-init ()
|
||||
"Initialise the `em-emacs' module."
|
||||
|
||||
;; --------------------------------------------------------------------------
|
||||
;; Use deadgrep.
|
||||
;; --------------------------------------------------------------------------
|
||||
|
||||
(use-package deadgrep
|
||||
:bind
|
||||
(("C-x C-g" . deadgrep)))
|
||||
|
||||
;; --------------------------------------------------------------------------
|
||||
;; Help extensions.
|
||||
;; --------------------------------------------------------------------------
|
||||
@ -177,8 +186,9 @@
|
||||
(let ((scroll-preserve-screen-position nil))
|
||||
(scroll-up 1))))
|
||||
|
||||
;; Recursive grep.
|
||||
(global-set-key (kbd "C-c g") 'rgrep)
|
||||
;; Recursive grep. Use only if ripgrep not present.
|
||||
(unless (executable-find "rg")
|
||||
(global-set-key (kbd "C-x C-g") 'rgrep))
|
||||
|
||||
;; Setup key-bindings for switching between themes.
|
||||
(global-set-key (kbd "C-x t l") (lambda ()
|
||||
|
@ -4,12 +4,12 @@
|
||||
|
||||
** .emacs.d
|
||||
|
||||
- [ ] Fix rgrep keybinding
|
||||
- [ ] Port comment block functions
|
||||
- [ ] Clean up theme file
|
||||
- [ ] Comments are too dark (problematic with big block comments)
|
||||
- [ ] Nicer splash screen
|
||||
- [ ] Frontend for emodule (e.g. for updates, rollbacks, init messages)
|
||||
- [ ] RLS integration - get rid of racer dependency
|
||||
|
||||
** Emodule
|
||||
|
||||
@ -23,10 +23,6 @@
|
||||
|
||||
* Extras
|
||||
|
||||
** .emacs.d
|
||||
|
||||
- [ ] RLS integration - get rid of racer dependency
|
||||
|
||||
** Metaswitch
|
||||
|
||||
- [ ] IPS trace
|
||||
|
Reference in New Issue
Block a user