From 5054fb2807721236dc0aeb43496604ab863f2ee5 Mon Sep 17 00:00:00 2001 From: Grégoire Duchêne Date: Sun, 3 Apr 2022 17:32:17 +0100 Subject: emacs: Bind ‘C-c d’ to ‘clang-format’ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- emacs/init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'emacs/init.el') 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) -- cgit v1.2.3-70-g09d2