Commit 4ca83535 authored by Moritz Sokoll's avatar Moritz Sokoll 💬
Browse files

Inital commit

parents
" Name: git-control
" Author: Moritz Sokoll
" Description: a git version conrol integration for vim
if exists('g:git_control_loaded')
finish
endif
function! Git_Commit()
let commit_message = input('commit message: ')
if len(commit_message) > 1
echoerr 'message must be at least one character long'
else
let stat = system("git commit -am '" . commit_message . "'")
echo stat
endif
endfunction
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