From b39e5e1b420fc7ac786778b0af0b700934696adb Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Wed, 16 Oct 2024 17:14:46 +0100 Subject: add local leader binding to `ls` a directory. --- Emacs/.config/emacs/config.org | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index d47a117..d7e919a 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -1958,6 +1958,10 @@ them. (eshell/goto) (with-current-buffer buffer (eshell-send-input)))) + "l" (proc (interactive) + (eshell-return-to-prompt) + (insert "ls") + (eshell-send-input)) "c" #'+eshell/good-clear "k" #'eshell-kill-process)))) #+end_src -- cgit v1.2.3-13-gbd6f