pombreda / vcscommand

Automatically exported from code.google.com/p/vcscommand
0 stars 0 forks source link

Minor typo in doc/vcscommand.txt #28

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Add the example user-defined event described in doc/vcscommand.txt to
.vimrc:

augroup VCSCommand
  au User VCSBufferCreated silent! nmap <unique> <buffer> q: bwipeout<cr>
augroup END

2. Edit a file that is under version control using vim (vim-enhanced).

3. Enter a command that creates a temporary version control buffer, for
example, :VCSLog

4. Attempt to dismiss the buffer (bwipeout) using the keymapping 'q'.

What is the expected output? What do you see instead?

The temporary buffer should have been closed/dismissed.
Instead, vim enters 'recording' mode.

What version of the product are you using? On what operating system?

vcscommand beta28
vim-enhanced 7.2

Please provide any additional information below.

The configuration line that attempts to map 'q' to the command ':bwipeout',
instead has mapped 'q:' to 'bwipeout'.  The document 'vsccommand.txt should
transpose the ':' and space between 'q' and 'bwipeout, that is, it should be:

  au User VCSBufferCreated silent! nmap <unique> <buffer> q :bwipeout<cr>

Original issue reported on code.google.com by apc...@gmail.com on 4 Feb 2009 at 8:03

GoogleCodeExporter commented 9 years ago
Thanks for finding this.  The amazing thing is that I'm pretty sure I've fixed 
this
before.  I'll add this fix to master and push it out in the next few days.

Original comment by bob.hies...@gmail.com on 10 Feb 2009 at 8:54