Add view-split-width setting for controlling vertical splits
commit10233020d2456e00203330616bee4b2687cdf088
authorJonas Fonseca <jonas.fonseca@gmail.com>
Tue, 29 Jul 2014 04:25:24 +0000 (29 00:25 -0400)
committerJonas Fonseca <jonas.fonseca@gmail.com>
Tue, 29 Jul 2014 04:29:59 +0000 (29 00:29 -0400)
tree7cd713b465dd1b627322b292cc7ac1bac334c7d9
parent286a7aab9c16eb4464c16034ff6096ecf881f35a
Add view-split-width setting for controlling vertical splits

Orthogonal with view-split-height, the new options allows to configure
how the terminal is split between the two views, defaulting to 50%.
Requested by Ralph Amissah.

This also fixes the positioning of the cursor to be on the last column
of the active view.
NEWS.adoc
doc/tigrc.5.adoc
include/tig/options.h
src/display.c
test/main/view-split-test [new file with mode: 0755]
tigrc