emacs: start git commit in insert mode
This commit is contained in:
parent
e4228a41d8
commit
e06f19fcf0
1 changed files with 7 additions and 1 deletions
|
@ -329,7 +329,9 @@
|
||||||
;; Magit
|
;; Magit
|
||||||
(use-package magit
|
(use-package magit
|
||||||
:ensure t
|
: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
|
;; Easy terminal
|
||||||
(setq my/default-shell (or (executable-find "zsh") (executable-find "bash")))
|
(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 "<prior>") 'backward-paragraph)
|
||||||
(global-set-key (kbd "<next>") 'forward-paragraph)
|
(global-set-key (kbd "<next>") 'forward-paragraph)
|
||||||
|
|
||||||
|
(defun fefe ()
|
||||||
|
(interactive)
|
||||||
|
(eww "https://blog.fefe.de"))
|
||||||
|
|
||||||
;; Comment fun
|
;; Comment fun
|
||||||
|
|
||||||
;(defun extend-comment ()
|
;(defun extend-comment ()
|
||||||
|
|
Loading…
Reference in a new issue