Enable smartparens-mode in eshell
So we can have some o'dat autopairing goodness in our shell.
This commit is contained in:
parent
a4121f33c0
commit
5a78b8db0c
1 changed files with 3 additions and 0 deletions
|
@ -76,6 +76,9 @@ You should use `det-eshell-alias!' to change this.")
|
||||||
(add-hook 'eshell-mode-hook #'+eshell|init)
|
(add-hook 'eshell-mode-hook #'+eshell|init)
|
||||||
(add-hook 'eshell-exit-hook #'+eshell|cleanup)
|
(add-hook 'eshell-exit-hook #'+eshell|cleanup)
|
||||||
|
|
||||||
|
;; Enable autopairing in eshell
|
||||||
|
(add-hook 'eshell-mode-hook #'smartparens-mode)
|
||||||
|
|
||||||
;; UI enhancements
|
;; UI enhancements
|
||||||
(defun +eshell|replace-fringes-with-margins ()
|
(defun +eshell|replace-fringes-with-margins ()
|
||||||
"Remove eshell's fringes and give it a margin of 1."
|
"Remove eshell's fringes and give it a margin of 1."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue