Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Moritz Sokoll
vim-git-control
Commits
4ca83535
Commit
4ca83535
authored
May 24, 2021
by
Moritz Sokoll
🦀
Browse files
Inital commit
parents
Changes
3
Hide whitespace changes
Inline
Side-by-side
README.md
0 → 100644
View file @
4ca83535
git-control.vim
0 → 100644
View file @
4ca83535
" 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
install.sh
0 → 100644
View file @
4ca83535
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment