Tig: Wrap long lines instead of horizontal scrolling

Created on 4 May 2010  路  8Comments  路  Source: jonas/tig

In general tig doesn't wrap lines, in any view nor in details.
I've looked in the docs and there is no mention to wrapping options.
Count 1 vote for wrapping lines in certain views (with a configuration switch)

Most helpful comment

Can this be closed as we now have set wrap-lines = yes ?

All 8 comments

You are not the first to ask for this feature. Can you provide some more detail as to what views you are mainly interested in responding to such an option?

BTW, you forgot to vote on this issue! ;-)

Issued my vote. My main interest: main and log views.

log and diff views please
it's driving me nuts trying to find the rest of the line

if i could use "less" as pager, i could enter "-S".

Can this be closed as we now have set wrap-lines = yes ?

:+1:

Toggle-able line wrapping in diffs would be great. Having to read raw markdown in a diff by going right, right, right, right, down, leftleftleftleftleftleftleft, right... is painful.

@dwijnand
:toggle wrap-lines would do it (and can be mapped).

However, wrap-lines does not apply to the subject in commit views, needs a reload after toggling it, and does not apply to the main view window (commit list subjects).

When starting tig with the --word-diff option, lines stop wrapping even though the option is set in .tigrc file.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dlee picture dlee  路  6Comments

brechtm picture brechtm  路  3Comments

julien-lecomte picture julien-lecomte  路  4Comments

proski picture proski  路  7Comments

kiryph picture kiryph  路  6Comments