aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2019-01-24 17:29:31 +0100
committerMiquel Sabaté Solà <msabate@suse.com>2019-01-24 17:29:31 +0100
commitf945549fd92db6552610646f3391ad7577d593f0 (patch)
tree9e132199cba6eb282d80ea33cdead7f62be8674e
parent95a8cfc647e9d018562ef05c846dac005d55df77 (diff)
downloaddotfiles-f945549fd92db6552610646f3391ad7577d593f0.tar.gz
dotfiles-f945549fd92db6552610646f3391ad7577d593f0.zip
emacs: use normal mode for git commits
This is the mode being used by Vim and I didn't realize until I switched to emacsclient for editing git commits. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
-rw-r--r--emacs/init.org9
1 files changed, 0 insertions, 9 deletions
diff --git a/emacs/init.org b/emacs/init.org
index a89e090..f666c77 100644
--- a/emacs/init.org
+++ b/emacs/init.org
@@ -946,15 +946,6 @@ certainly useful for some common tasks (I guess that I still need some learning)
:config
#+END_SRC
-In some cases normal mode is not the right mode (e.g. commit mode). For these
-cases, set the proper default mode.
-
-#+BEGIN_SRC elisp
- (with-eval-after-load 'evil
- (add-hook 'git-commit-mode-hook 'evil-insert-state)
- (evil-set-initial-state 'magit-log-edit-mode 'insert))
-#+END_SRC
-
Set a key binding for =magit-log-buffer-file=.
#+BEGIN_SRC elisp