sodapopcan / vim-twiggy

Git branch management for Vim
280 stars 15 forks source link

Remove `Twig` shortcut #5

Closed aschrab closed 6 years ago

aschrab commented 6 years ago

Vim allows commands to be run with any unambiguous prefix, so :Twig can be used to invoke this without special handling. In fact, in common setups, if this shortcut is removed even just :Tw can be used.

sodapopcan commented 6 years ago

Ha, I was actually going to do that tonight (after addressing #4). I remember I did it to kind of "claim" the short version of the command as someone--who will remain nameless as not to make it look like they endorse this plugin-- suggested I use :Twig over :Gbranch as a command.

I also (regretfully) solidified my resolve to do so after reading this: tpope/vim-obsession/issues/3. Would mind updating the README to use the full :Twiggy command and squish with this commit? :Twig isn't referenced anywhere in the help file.

Thanks!

aschrab commented 6 years ago

I'd looked through the help to see if there was some difference between the commands, before I looked at the source. So I'd already known that that didn't mention the short version. But, looks like I forgot to take another look at the README file. I've now updated that.

sodapopcan commented 6 years ago

Perfect, thanks!