<<< Date Index >>>     <<< Thread Index >>>

Dynamic pager_index_lines setting



Hi all,

I was wondering if anyone has any trick to dynamically set
pager_index_lines depending on the terminal size. For example if 
I am using a "noraml" size terminal of about 80 columns by 25 lines,
then something like the following might be appriate:

set pager_index_lines=5

However if I then expand the terminal to the full height of my screen
eg 70 columns, I'd like pager_index_lines to increase up to about 15.

Any ideas?

TIA,

Nick.