diff options
| author | bard <[email protected]> | 2024-01-09 06:18:14 -0500 |
|---|---|---|
| committer | bard <[email protected]> | 2024-01-09 06:18:14 -0500 |
| commit | 3188effca42429909be3dc89fe7e796bdf2e570a (patch) | |
| tree | e6c9338f2fd908fd9fb4222f604b9c20b789f4ba /bard-elisp | |
| parent | f370cfbd985588daaed7f3b62c7f8f5933cf55b1 (diff) | |
cleanup
Diffstat (limited to 'bard-elisp')
| -rw-r--r-- | bard-elisp/bard-eshell.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bard-elisp/bard-eshell.el b/bard-elisp/bard-eshell.el index fb0770f..754477a 100644 --- a/bard-elisp/bard-eshell.el +++ b/bard-elisp/bard-eshell.el @@ -46,10 +46,10 @@ ((not in-eshellp) (switch-to-buffer (car buffers))) (t (select-or-create (completing-read "Select Shell:" (cons "New eshell" names))))))) +(global-set-key (kbd "C-z") nil) +(define-key global-map (kbd "C-z e") #'eshell-switcher) (with-eval-after-load "esh-mode" (define-key eshell-mode-map (kbd "C-c f") #'bard/eshell-find-file-at-point) (define-key eshell-mode-map (kbd "C-c h") #'bard/eshell-narrow-ouput-highlight-regexp) (define-key eshell-mode-map (kbd "C-c d") #'bard/eshell-complete-recent-dir) - (define-key eshell-mode-map (kbd "M-k") #'eshell-kill-input) - (global-set-key (kbd "C-z") nil) - (define-key global-map (kbd "C-z e") #'eshell-switcher)) + (define-key eshell-mode-map (kbd "M-k") #'eshell-kill-input)) |
