Eshell: Autoload helm-eshell-switch and bind it

master
Pierre Neidhardt 2019-02-22 18:35:00 +01:00
parent dd3ed544f1
commit 155a4f8a32
2 changed files with 2 additions and 2 deletions

View File

@ -151,7 +151,7 @@
pcomplete-extension pcmpl-args pcmpl-git))
(nconc package-selected-packages '(esh-autosuggest))
(with-eval-after-load 'eshell (require 'init-eshell))
(autoload 'ambrevar/eshell-or-new-session "eshell")
(autoload 'helm-eshell-switch "eshell")
;;; Eww
(with-eval-after-load 'eww (require 'init-eww))

View File

@ -81,7 +81,7 @@
;;; Emacs mode shortcuts.
(exwm-input-set-key (kbd "s-t") #'ambrevar/org-switch-agenda-file)
(exwm-input-set-key (kbd "s-T") #'ambrevar/org-switch-agenda-file-other-window)
(exwm-input-set-key (kbd "s-<return>") #'ambrevar/eshell-or-new-session)
(exwm-input-set-key (kbd "s-<return>") #'helm-eshell-switch)
(with-eval-after-load 'slime
(exwm-input-set-key (kbd "s-<backspace>") #'ambrevar/slime-switch-to-repl))
(when (fboundp 'magit-status)