Clean up a bit around bindings for builtins and comint

This commit is contained in:
larstvei 2023-06-22 01:52:08 +02:00
parent 86ee95f930
commit 1807e47c50

View File

@ -1514,15 +1514,11 @@
#+begin_src emacs-lisp
(add-hook 'compilation-filter-hook 'comint-truncate-buffer)
#+end_src
#+begin_src emacs-lisp
(use-package comint
:ensure nil
:hook (comint-mode . (lambda () (auto-fill-mode -1))))
:bind (:map comint-mode-map ("C-l" . comint-clear-buffer))
:hook (comint-mode . (lambda () (auto-fill-mode -1)))
:config (add-hook 'compilation-filter-hook 'comint-truncate-buffer))
#+end_src
@ -1982,7 +1978,6 @@
(define-key custom-bindings-map (kbd "M-]") 'other-frame)
(define-key custom-bindings-map (kbd "C-j") 'newline-and-indent)
(define-key custom-bindings-map (kbd "C-c s") 'ispell-word)
(define-key comint-mode-map (kbd "C-l") 'comint-clear-buffer)
#+end_src