dev: Reformat deadgrep and paredit config
This commit is contained in:
parent
93ed2ac975
commit
9a0627bad0
1 changed files with 12 additions and 10 deletions
|
@ -23,14 +23,16 @@
|
||||||
:bind ("M-s d" . deadgrep))
|
:bind ("M-s d" . deadgrep))
|
||||||
|
|
||||||
;; paredit
|
;; paredit
|
||||||
(use-package paredit :ensure t)
|
(use-package paredit
|
||||||
|
:ensure t
|
||||||
|
:config
|
||||||
(autoload 'enable-paredit-mode "paredit" "Turn on pseudo-structural editing of Lisp code." t)
|
(autoload 'enable-paredit-mode "paredit" "Turn on pseudo-structural editing of Lisp code." t)
|
||||||
(add-hook 'emacs-lisp-mode-hook #'enable-paredit-mode)
|
(add-hook 'emacs-lisp-mode-hook #'enable-paredit-mode)
|
||||||
(add-hook 'eval-expression-minibuffer-setup-hook #'enable-paredit-mode)
|
(add-hook 'eval-expression-minibuffer-setup-hook #'enable-paredit-mode)
|
||||||
(add-hook 'ielm-mode-hook #'enable-paredit-mode)
|
(add-hook 'ielm-mode-hook #'enable-paredit-mode)
|
||||||
(add-hook 'lisp-mode-hook #'enable-paredit-mode)
|
(add-hook 'lisp-mode-hook #'enable-paredit-mode)
|
||||||
(add-hook 'lisp-interaction-mode-hook #'enable-paredit-mode)
|
(add-hook 'lisp-interaction-mode-hook #'enable-paredit-mode)
|
||||||
(add-hook 'scheme-mode-hook #'enable-paredit-mode)
|
(add-hook 'scheme-mode-hook #'enable-paredit-mode))
|
||||||
|
|
||||||
;; Hack to show only files known to git inside dired; needs the
|
;; Hack to show only files known to git inside dired; needs the
|
||||||
;; `git-find' shell script shim (taken from :open https://r0tty.org/git/dotfiles/emacs/tree/.emacs.d/config/development.el)
|
;; `git-find' shell script shim (taken from :open https://r0tty.org/git/dotfiles/emacs/tree/.emacs.d/config/development.el)
|
||||||
|
|
Loading…
Reference in a new issue