mirror of
https://github.com/larstvei/dot-emacs.git
synced 2024-11-26 07:28:31 +00:00
Clean up a bit around bindings for builtins and comint
This commit is contained in:
parent
86ee95f930
commit
1807e47c50
11
init.org
11
init.org
@ -1514,15 +1514,11 @@
|
|||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
|
||||||
(add-hook 'compilation-filter-hook 'comint-truncate-buffer)
|
|
||||||
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
|
||||||
|
|
||||||
(use-package comint
|
(use-package comint
|
||||||
:ensure nil
|
: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
|
#+end_src
|
||||||
|
|
||||||
@ -1982,7 +1978,6 @@
|
|||||||
(define-key custom-bindings-map (kbd "M-]") 'other-frame)
|
(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-j") 'newline-and-indent)
|
||||||
(define-key custom-bindings-map (kbd "C-c s") 'ispell-word)
|
(define-key custom-bindings-map (kbd "C-c s") 'ispell-word)
|
||||||
(define-key comint-mode-map (kbd "C-l") 'comint-clear-buffer)
|
|
||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user