标签:blog class code ext 2014 set
eshell是emacs shell的简称,是emacs自带的shell.开始设置的时候还在想是否要找到它的key map (eshell-mode-map?).
原来它是采用hook设置,如下所示
(add-hook ‘eshell-mode-hook (lambda () (local-set-key (kbd "C-j") ‘switch-to-buffer) (local-set-key (kbd "C-a") ‘eshell-bol) (local-set-key (kbd "C-c SPC") ‘ace-jump-mode) (local-set-key (kbd "<up>") ‘eshell-previous-matching-input-from-input) (local-set-key (kbd "<down>") ‘eshell-next-matching-input-from-input)))
(setq eshell-save-history-on-exit t)
emacs中eshell的快捷键配制,布布扣,bubuko.com
标签:blog class code ext 2014 set
原文地址:http://blog.csdn.net/loveaborn/article/details/25047399