From 248356d1dc46710e182354f9fc18af3dbc5676d1 Mon Sep 17 00:00:00 2001 From: GrĂ©goire DuchĂȘne Date: Sat, 15 Jan 2022 13:29:26 +0000 Subject: emacs: Bind C-c q to electric-quote-local-mode Also, add electric-quote-local-mode to git-commit-setup-hook. --- emacs/init.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/emacs/init.el b/emacs/init.el index 83d81d4..36b3d32 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -56,6 +56,8 @@ (global-auto-revert-mode 1) (show-paren-mode 1) +(global-set-key (kbd "C-c q") #'electric-quote-local-mode) + ;; Buffer Management @@ -167,6 +169,7 @@ (setq git-commit-summary-max-length 50) +(add-hook 'git-commit-setup-hook #'electric-quote-local-mode) (add-hook 'git-commit-setup-hook #'git-commit-turn-on-flyspell) (global-set-key (kbd "C-c k") #'magit-status) -- cgit v1.2.3-70-g09d2