From: Peng Li Date: Fri, 2 Sep 2016 03:20:23 +0000 (+0800) Subject: emacs - compile, seting global keybindings X-Git-Url: http://47.100.26.94:8080/?a=commitdiff_plain;h=1bca7af8c1a3744ad0037e77c620b96f67ad544f;p=dotfiles.git emacs - compile, seting global keybindings --- 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