aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-10-06 12:29:25 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-10-06 12:29:25 +0100
commitef6de8a44b104a5267243dcced56eea72cb9a7e6 (patch)
treef5716a742fa5a8572b25960f7a5325c47ad69d02
parent028ca04cfb414cdecbf470ed0288c70e0bcf6045 (diff)
downloaddotfiles-ef6de8a44b104a5267243dcced56eea72cb9a7e6.tar.gz
dotfiles-ef6de8a44b104a5267243dcced56eea72cb9a7e6.tar.bz2
dotfiles-ef6de8a44b104a5267243dcced56eea72cb9a7e6.zip
Define a better "I" key for Eshell
-rw-r--r--Emacs/.config/emacs/config.org5
1 files changed, 4 insertions, 1 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org
index 515f764..7af4102 100644
--- a/Emacs/.config/emacs/config.org
+++ b/Emacs/.config/emacs/config.org
@@ -2072,7 +2072,10 @@ them.
(interactive)
(nmap
:keymaps 'eshell-mode-map
- "0" #'eshell-bol)
+ "0" #'eshell-bol
+ "I" (proc (interactive)
+ (eshell-bol)
+ (evil-insert 0)))
(general-def
:states '(normal insert visual)
:keymaps 'eshell-mode-map