Git Use Vim

[Solved] Git Use Vim | Shell - Code Explorer | yomemimo.com
Question : git use vim

Answered by : -1vajs8k9qntw

git config --global core.editor "vim"

Source : | Last Update : Wed, 03 Jun 20

Question : how to create git repository for vim

Answered by : curious-cardinal-zbipvdnf8bi6

$ cd
$ mv .vimrc .vim/vimrc
$ echo "runtime vimrc" > .vimrc
$ cd .vim
$ git init
$ echo "This is my Vim config." > README
$ git add *
$ git commit -m "My Vim config is versioned."
$ git remote add origin https://github.com/username/vimconfig.git
$ git push origin master

Source : https://stackoverflow.com/questions/18197705/adding-your-vim-vimrc-to-github-aka-dot-files | Last Update : Sun, 13 Sep 20

Answers related to git use vim

Code Explorer Popular Question For Shell