Commit 314f186d authored by Moritz Sokoll's avatar Moritz Sokoll 💬
Browse files

added .viminstall as an installation option and changed git status format to short

parent 283f408b
echo 'downloading files...'
call system("mkdir -p ~/.vim/plugins")
echo 'installing'
call system("curl https://gitlab.sokoll.com/moritz/vim-git-control/-/raw/master/git-control.vim > ~/.vim/plugins/git-control.vim")
echo 'done!'
......@@ -4,6 +4,8 @@
## Installation
### [plugin-manager](https://gitlab.sokoll.com/moritz/vim-plugin-manager)
Download the `git-control.vim` and move it into `~/.vim/plugins`. Then add the plugin to your plugins list.
### [vim-installer](https://gitlab.sokoll.com/moritz/vim-install)
download the `.viminstall` file, open vim in the same directory and do `:VimInstall`
### Other
Download the file and move it to some path. Then add `source /path/to/git-control.vim` to your `.vimrc`
## Usage
......
......@@ -56,7 +56,7 @@ function! Git_Branch()
endfunction
function! Git_Status()
echo system('git status')
echo system('git status -s')
endfunction
function! Git_Log()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment