diff options
| author | Miquel Sabaté Solà <msabate@suse.com> | 2019-01-24 17:29:31 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <msabate@suse.com> | 2019-01-24 17:29:31 +0100 |
| commit | f945549fd92db6552610646f3391ad7577d593f0 (patch) | |
| tree | 9e132199cba6eb282d80ea33cdead7f62be8674e /emacs | |
| parent | 95a8cfc647e9d018562ef05c846dac005d55df77 (diff) | |
| download | dotfiles-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>
Diffstat (limited to 'emacs')
| -rw-r--r-- | emacs/init.org | 9 |
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 |
