简体   繁体   English

如何在tig状态视图中更改方向

[英]How to change orientation in tig status view

在此处输入图片说明

I need to swicth between landscape and portrait orientations in tig status view cause sometimes diff line doesn't fit to right part of view. 我需要在TIG状态视图原因横向和纵向之间swicth有时DIFF线不适合的视图右侧部分。

You can change the orientation use the vertical-split option. 您可以使用vertical-split选项更改方向。 In version 2.0, it is set to auto by default, which will use a heuristics to determine whether to use landscape or portrait orientation (note: in the Tig docs this is called horizontal and vertical split). 在2.0版中,默认情况下将其设置为auto ,这将使用启发式方法确定是使用横向还是纵向(请注意:在Tig文档中,这称为水平垂直拆分)。

Following is the option's documentation for version 2.0: 以下是版本2.0的选件文档:

vertical-split (mixed) [auto|] 垂直分割 (混合)[自动|]

Whether to split the view horizontally or vertically. 水平或垂直拆分视图。 "auto" (which is the default) means that it will depend on the window dimensions. “自动”(这是默认值)表示它将取决于窗口尺寸。 When true vertical orientation is used, and false sets the orientation to horizontal. 当使用正确的垂直方向时,使用false将方向设置为水平方向。

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

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