简体   繁体   English

我可以更改tig的默认视图吗?

[英]Can I change the default view of tig?

The "main" view is the default in tig. “主”视图是tig中的默认视图。 Is it possible to change this in tigrc? 是否可以在tigrc中更改此内容? Specifically, I would like the status view as default. 具体来说,我希望状态视图为默认值。

As of Tig version 1.2, there is no way to configure what view is shown at startup. 从Tig 1.2版开始,无法配置启动时显示的视图。 The best workaround at this point is to use a shell alias. 此时最好的解决方法是使用shell别名。 For example, alias ti='tig status' . 例如, alias ti='tig status' See tig -h for other options. 有关其他选项,请参阅tig -h

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM