aboutsummaryrefslogtreecommitdiff
path: root/bard-emacs-modules/bard-emacs-eshell.el
blob: b129ac0745d29cabe570a5e61cb7e7465fca7b0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
(use-package eshell
  :ensure t
  :config
  (setq eshell-banner-message "Time for another recreational programming session.\n\n"))

(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") #'prot-eshell-narrow-output-highlight-regexp)
  (define-key eshell-mode-map (kbd "C-c d") #'prot-eshell-complete-recent-dir)
  (define-key eshell-mode-map (kbd "M-k") #'eshell-kill-input)
  (define-key eshell-mode-map (kbd "C-c C-e") #'prot-eshell-export))

(provide 'bard-emacs-eshell)