diff options
author | JSDurand <mmemmew@gmail.com> | 2021-05-18 15:32:41 +0800 |
---|---|---|
committer | JSDurand <mmemmew@gmail.com> | 2021-05-18 15:32:41 +0800 |
commit | 7d9de1e5e49f67ba95052c24c34d7a8a87342e13 (patch) | |
tree | 88e50956bfae691fde5033a36cde77db0e4afc89 | |
parent | 887d4fa67f635f39005420425c421e4f31b14da4 (diff) |
Bind compile to C-c C-c.
* c-conf.el (c-mode-map): I don't know why I didn't bind this earlier.
-rw-r--r-- | c-conf.el | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -26,6 +26,9 @@ (setq c-macro-preprocessor "gcc -E -C -o - -") +;; We can achieve the functionality of the original binding +;; comment-region by comment-dwim bound to "M-;". +(define-key c-mode-map (vector 3 3) #'compile) (provide 'c-conf) ;;; c-conf.el ends here |