Closed rht closed 2 years ago
I am planning to store some state in a file, so when you leave gitui in the log-tab in a certain repo, it would open there again. would that solve your use-case?
For me, a command line option that lets the user specify the starting tab would also suffice. Something like one of these:
gitui --view=log
gitui --tab=log
gitui --tab=2
gitui -2
@extrawurst sorry for not replying in time. However, I rediscovered GitUI again because it was recently featured on HN: https://news.ycombinator.com/item?id=32864036.
Storing the state would solve my use-case, if indeed the state is needed to store some other info. But I always want to default to log view for all repo, where @sunaku's solution seems cleaner, or just have it configurable in a local or global config file.
this is implemented as of 9534e4c and will be part of the next release. closing this for now. see #1338
Whoa! Thank you for delivering.
Is your feature request related to a problem? Please describe. Coming from
tig
, the first view I see when I runtig
is the log and the unstaged changes as its own "commit". Would be nice if I can configure so that the default view is the Log view (the one with '2' as a shortcut).