On Friday, July 6, 2012 8:11:46 AM UTC-5, Geert Mak wrote:
> Hello,
> 
> I'd like to stay in vim for some Subversion operations like 'blame'. Most 
> subversion integration plugins I found have not been maintained for years (I 
> apologize if I have missed some) and the one which appears most complete 
> (vcscommand.vim) has two things I somehow do not like very much - the 
> commands are quite long, contain upper and lower case letters and then it is 
> not visually very stable (i. e. when browsing up/down in Subversion 'blame' 
> mode, the screens blink on every row, I guess they are rewritten too slowly 
> or so (I work on an Air w/ SSH and can't imagine the machine is too slow...).
> 
> My questions are -
> 
> 1. Is there are more vimish Subversion integration (with shorter commands, no 
> uppercase letters in commands and with more stable windows without blinking)?
> 
> 2. If not - is it possible that as such things are easy to write (I found 
> some pure 'blame' plugins, which were not exactly what I want, but were on 
> another hand 10-15 lines long) that simply people make their own plugins for 
> such things and do not really bother to post them as everyone has different 
> taste?
> 

If you mostly like vcscommand.vim, but you don't like the command names it 
uses, it is easy enough to define your own alias:

  :command! MyBlame WhateverVCSCallsTheirBlameCommand

Possibly you need to mess with arguments, -bar, -bang, etc. but you should 
mostly be able to get those from the command definition the plugin uses. If you 
don't want to mess with that it is even easier to make an abbreviation so it's 
faster to type:

  :cabbrev blame WhateverVCSCallsTheirBlameCommand

You can even get fancy with cabbrev to only trigger in certain circumstances:

  http://vim.wikia.com/wiki/Replace_a_builtin_command_using_cabbrev

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to