diff options
| author | Grégoire Duchêne <gduchene@awhk.org> | 2022-04-03 17:32:17 +0100 |
|---|---|---|
| committer | Grégoire Duchêne <gduchene@awhk.org> | 2022-04-03 17:39:00 +0100 |
| commit | 5054fb2807721236dc0aeb43496604ab863f2ee5 (patch) | |
| tree | b60db95ed115c9ecc11e7c2875d8029955fc0e42 /emacs | |
| parent | e0cdf8a46d8fc8aa3647e70a327f9d19f88a68ee (diff) | |
emacs: Bind ‘C-c d’ to ‘clang-format’
Diffstat (limited to 'emacs')
| -rw-r--r-- | emacs/init.el | 2 |
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) |
