diff --git a/home/doomemacs/config.el b/home/doomemacs/config.el index 029c90e..bc85c79 100644 --- a/home/doomemacs/config.el +++ b/home/doomemacs/config.el @@ -2,10 +2,20 @@ ;; Place your private configuration here! Remember, you do not need to run 'doom ;; sync' after modifying this file! + + +;; Key bindings +(setq doom-localleader-key ",") ; Spacemacs like comma major mode (map! :leader :desc "Kill buffer and window" "b 0" #'kill-buffer-and-window) +(map! :localleader + (:map git-commit-mode-map + "c" #'with-editor-finish) + (:map git-commit-mode-map + "q" #'with-editor-cancel)) + ;; Some functionality uses this to identify you, e.g. GPG configuration, email ;; clients, file templates and snippets. It is optional.