emacs: start git commit in insert mode

This commit is contained in:
Valentin Gehrke 2017-10-10 15:19:56 +02:00
parent e4228a41d8
commit e06f19fcf0

View file

@ -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 "<prior>") 'backward-paragraph)
(global-set-key (kbd "<next>") 'forward-paragraph)
(defun fefe ()
(interactive)
(eww "https://blog.fefe.de"))
;; Comment fun
;(defun extend-comment ()