From 61d2655e5f534572f3f7d885f76edeb862bef20d Mon Sep 17 00:00:00 2001 From: Lars Tveito Date: Tue, 10 Mar 2020 21:08:03 +0100 Subject: [PATCH] Clean up bindings --- init.org | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/init.org b/init.org index c4dcb17..fe43b0e 100644 --- a/init.org +++ b/init.org @@ -890,13 +890,6 @@ (comint-truncate-buffer))) #+END_SRC - The =clear-shell= should only be bound in =comint-mode=, which is a mode - most shell and REPL's is derived from. - - #+BEGIN_SRC emacs-lisp - (add-hook 'comint-mode-hook (lambda () (local-set-key (kbd "C-l") 'clear-comint))) - #+END_SRC - ** Lisp I use =Paredit= when editing lisp code, we enable this for all lisp-modes. @@ -1314,14 +1307,7 @@ (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 custom-bindings-map (kbd "C-c c") 'org-capture) - (define-key custom-bindings-map (kbd "C-x m") 'mu4e) - (define-key custom-bindings-map (kbd "C-c ") 'windmove-up) - (define-key custom-bindings-map (kbd "C-c ") 'windmove-down) - (define-key custom-bindings-map (kbd "C-c ") 'windmove-left) - (define-key custom-bindings-map (kbd "C-c ") 'windmove-right) - (define-key custom-bindings-map (kbd "C-c t") - (lambda () (interactive) (org-agenda nil "n"))) + (define-key comint-mode-map (kbd "C-l") 'clear-comint) #+END_SRC ** Bindings for functions defined [[sec:defuns][above]].