Commit df2a489a authored by Moritz Sokoll's avatar Moritz Sokoll 💬
Browse files

added command for vim

parent 5380c0ed
......@@ -8,13 +8,14 @@ endif
function! Git_Commit()
let commit_message = input('commit message: ')
echo ''
if len(commit_message) < 1
echo len(commit_message)
echo 'message too short'
let stat = system("git commit -am '" . commit_message . "'")
echo stat
command GitCommit call Git_Commit()
command! GitCommit call Git_Commit()
let g:git_control_loaded = 1
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