projects
/
dotfiles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a8043dc
)
emacs - compile, seting global keybindings
author
Peng Li
<seudut@gmail.com>
Fri, 2 Sep 2016 03:20:23 +0000
(11:20 +0800)
committer
Peng Li
<seudut@gmail.com>
Fri, 2 Sep 2016 03:20:23 +0000
(11:20 +0800)
emacs.d/config.org
patch
|
blob
|
history
diff --git
a/emacs.d/config.org
b/emacs.d/config.org
index
d39bf93
..
3f1b023
100644
(file)
--- 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
#+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
* 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))
(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
#+END_SRC
* Auto-Insert