feat(emacs): Small repl things

This commit is contained in:
Madeleine Sydney
2025-02-18 19:45:17 -07:00
parent c48625f584
commit eceb06c654
6 changed files with 101 additions and 30 deletions

View File

@@ -183,12 +183,14 @@
:states 'insert
"C-d" #'syd-eshell-C-d)
(:keymaps 'eshell-mode-map
:states '(normal insert)
:states 'motion
"[ [" #'eshell-previous-prompt
"] ]" #'eshell-next-prompt
"] ]" #'eshell-next-prompt)
(:keymaps 'eshell-mode-map
:states '(normal insert)
"C-j" #'eshell-next-matching-input-from-input
"C-k" #'eshell-previous-matching-input-from-input)
"C-k" #'eshell-previous-matching-input-from-input
"C-s" #'eshell-isearch-backward)
:config
;; When cd'd into a TRAMP remote, automatically expand '/' to the TRAMP
;; notation referring to the remote's root.