From e06f19fcf000d944f0d49ca69a90b04ee7933eee Mon Sep 17 00:00:00 2001 From: Valentin Gehrke Date: Tue, 10 Oct 2017 15:19:56 +0200 Subject: [PATCH] emacs: start git commit in insert mode --- emacs/.emacs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/emacs/.emacs b/emacs/.emacs index a5311dc..9df48f9 100644 --- a/emacs/.emacs +++ b/emacs/.emacs @@ -329,7 +329,9 @@ ;; Magit (use-package magit :ensure t - :bind ("C-x g" . magit-status)) + :bind ("C-x g" . magit-status) + :config + (evil-set-initial-state 'git-commit-mode 'insert)) ;; Easy terminal (setq my/default-shell (or (executable-find "zsh") (executable-find "bash"))) @@ -477,6 +479,10 @@ (global-set-key (kbd "") 'backward-paragraph) (global-set-key (kbd "") 'forward-paragraph) +(defun fefe () + (interactive) + (eww "https://blog.fefe.de")) + ;; Comment fun ;(defun extend-comment ()