From 1bca7af8c1a3744ad0037e77c620b96f67ad544f Mon Sep 17 00:00:00 2001 From: Peng Li Date: Fri, 2 Sep 2016 11:20:23 +0800 Subject: [PATCH] emacs - compile, seting global keybindings --- emacs.d/config.org | 3 +++ 1 file changed, 3 insertions(+) diff --git a/emacs.d/config.org b/emacs.d/config.org index d39bf93..3f1b023 100644 --- a/emacs.d/config.org +++ b/emacs.d/config.org @@ -1460,6 +1460,7 @@ brew install the-silver-searcher #+BEGIN_SRC emacs-lisp :tangle yes :results silent (add-hook 'text-mode-hook 'table-recognize) #+END_SRC + * Dired ** Dired bindings =C-o= is defined as a global key for window operation, here unset it in dired mode @@ -1948,6 +1949,8 @@ Set the environments vairables in compilation mode (define-key compilation-mode-map (kbd "n") 'compilation-next-error) (define-key compilation-mode-map (kbd "p") 'compilation-previous-error) (define-key compilation-mode-map (kbd "r") #'recompile)) + + (global-set-key (kbd "s-r") 'compile) #+END_SRC * Auto-Insert -- 2.11.0