about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSilvino Silva <silvino@bk.ru>2019-04-11 00:06:52 +0000
committerSilvino Silva <silvino@bk.ru>2019-04-11 00:06:52 +0000
commit9d9bfe21eef76ca690f864f7757b1470d07d1301 (patch)
tree6d6636f5950742df782ed0e4dbcc52a3e224b44a
parent8e7dac6127744abd05169786b3899c797f25003a (diff)
parentc432a9f7e5e2faccf09d3465266f08561299acf1 (diff)
downloaddoc-9d9bfe21eef76ca690f864f7757b1470d07d1301.tar.gz
fix git default editor to vim
-rw-r--r--dev/git/install.html1
-rw-r--r--tools/conf/etc/skel/.gitconfig1
2 files changed, 2 insertions, 0 deletions
diff --git a/dev/git/install.html b/dev/git/install.html
index 6a42abd..16311ed 100644
--- a/dev/git/install.html
+++ b/dev/git/install.html
@@ -22,6 +22,7 @@
     <pre>
     $ git config --global user.name "User Name"
     $ git config --global user.email user@devbox
+    $ git config --global core.editor "vim"
     </pre>
 
     <p>If you want to disable pager / paging you can set globally;</p>
diff --git a/tools/conf/etc/skel/.gitconfig b/tools/conf/etc/skel/.gitconfig
index f96ecf7..3af5f03 100644
--- a/tools/conf/etc/skel/.gitconfig
+++ b/tools/conf/etc/skel/.gitconfig
@@ -1,5 +1,6 @@
 [core]
 	pager = less -F -X
+	editor = vim
 [diff]
 	tool = vimdiff
 [merge]