gregsexton / gitv

gitk for Vim.
938 stars 59 forks source link

Cannot search for gitv with lowercase g #19

Closed idbrii closed 13 years ago

idbrii commented 13 years ago

Problem is in plugin/gitv.vim:

cabbrev gitv Gitv

This abbreviation is too general and easy to trigger when undesired. It triggers in searches and other commands.

For example, if I'm searching :h gitv for the gitv browser, my search becomes the Gitv browser and has no results. (I use smartcase.)

Or :grep gitv -R . becomes :grep Gitv -R .

This can be avoided with this recipe: Replace a builtin command using cabbrev

gregsexton commented 13 years ago

I have been bitten by this one too but always found the convenience worth the short coming. That recipe is fantastic though, thanks for the link. I'll check this out and see what I can get working for gitv. Thanks.

gregsexton commented 13 years ago

Sorry for the delay. I've just pushed this fix. Thanks once again for the link, works brilliantly.