diff options
-rw-r--r-- | init.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/init.el b/init.el index 49e1e6b..362e0e1 100644 --- a/init.el +++ b/init.el | |||
@@ -436,10 +436,12 @@ | |||
436 | (if (and (eolp) (looking-back eshell-prompt-regexp)) | 436 | (if (and (eolp) (looking-back eshell-prompt-regexp)) |
437 | (eshell-life-is-too-much) | 437 | (eshell-life-is-too-much) |
438 | (delete-forward-char arg))) | 438 | (delete-forward-char arg))) |
439 | |||
440 | (global-set-key (kbd "<f12>") #'eshell) | ||
439 | 441 | ||
440 | (hook-defun eshell-setup 'eshell-mode-hook | 442 | (hook-defun eshell-setup 'eshell-mode-hook |
441 | (define-key eshell-mode-map (kbd "C-d") | 443 | (define-key eshell-mode-map (kbd "<f12>") #'bury-buffer) |
442 | #'eshell-quit-or-delete-char) | 444 | (define-key eshell-mode-map (kbd "C-d") #'eshell-quit-or-delete-char) |
443 | (when (boundp 'simple-modeline--mode-line) | 445 | (when (boundp 'simple-modeline--mode-line) |
444 | (setq mode-line-format '(:eval simple-modeline--mode-line))))) | 446 | (setq mode-line-format '(:eval simple-modeline--mode-line))))) |
445 | 447 | ||