sodapopcan / vim-twiggy

Git branch management for Vim
280 stars 15 forks source link

Only allow one instance of twiggy per tab #4

Closed sodapopcan closed 6 years ago

sodapopcan commented 6 years ago

This was never a problem for me with how I work--I always have one instance of vim running per project in different tmux tabs/sessions. I now realize that storing the git command (along with a bunch of other global options) in script and global variables makes it impossible to use twiggy for multiple repos in the same vim session. This is obviously a very bad thing for many peoples' work-flows.

Every instance of twiggy needs its own set of variables and settings.