summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@awhk.org>2022-04-03 17:32:17 +0100
committerGrégoire Duchêne <gduchene@awhk.org>2022-04-03 17:39:00 +0100
commit5054fb2807721236dc0aeb43496604ab863f2ee5 (patch)
treeb60db95ed115c9ecc11e7c2875d8029955fc0e42
parente0cdf8a46d8fc8aa3647e70a327f9d19f88a68ee (diff)
emacs: Bind ‘C-c d’ to ‘clang-format’
-rw-r--r--emacs/init.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/init.el b/emacs/init.el
index c16fcca..6121983 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -124,7 +124,7 @@
(setq clang-format-style "google")
(my/with-add-hook 'c-initialization-hook
- (local-set-key (kbd "C-c f") #'clang-format))
+ (local-set-key (kbd "C-c d") #'clang-format))
(add-hook 'c-mode-common-hook #'google-set-c-style)
(add-hook 'c++-mode-hook #'flycheck-mode)