I have a plugin for
VIM which is basically provides an interface for my
SVN (vcscommand.vim). And I've mapped
:VCSCommit commands of vcscommand plugin in my
.vimrc. Everything is perfect, except one thing:
After you call :VCSCommit you usually write comment like so:
:VCSCommit I've made some minor changes to this file
In our company's deployment system it is not highlighted which file was commited, so we usually write our comments like so:
:VCSCommit I've made some minor changes to file .vimrc
In the deployment system we see all this commits, so we can tell which file is to be uploaded to production server after "Sync" button pressed.
So, I wonder how do I map for :VCSCommit so it would add name of the file as a comment. My mapping so far is:
map <C-q> :VCSCommit
So after Ctrl+Q press, it shows
:VCSCommit in the bottom bar, but I'd want to see
How do I do that?