vim-twiggy icon indicating copy to clipboard operation
vim-twiggy copied to clipboard

Support vim-flog for git log

Open krishnakumarg1984 opened this issue 5 years ago • 2 comments

Twiggy itself is only concerned with branching, but it does have very warm feelings toward the following plugins:

  • gv.vim
  • gitv

Can you additionally support the more modern & lightweight vim-flog?

krishnakumarg1984 avatar May 02 '19 10:05 krishnakumarg1984

So I actually really regret the log feature. It was thrown together quickly because I wanted it, but not a lot of thought was put into it. I chose gitv and gv.vim (the latter of which is incredibly lightweight, btw) since their commands just pass their arguments along to git log without doing anything special. What I'd really like to do here is:

  • Add a . mapping to start a vim command with the branch name under the cursor pre-populated (could be used to log on any branch with any log plugin)
  • Provide an official way to customize and add mappings (ie, make your own log map)
  • Actually implement a mini log feature in twiggy with the sole purpose of being able to checkout past commits in detached head (completely separate of a log feature)

In the short term, I could provide a hacky way to define your own log mapping if you are very much wanting this sooner than later.

sodapopcan avatar May 02 '19 13:05 sodapopcan

Thank you for the explanation. I am happy to wait for a well thought-out implementation. Thanks for your hard work

krishnakumarg1984 avatar May 02 '19 14:05 krishnakumarg1984