Tuesday, February 22, 2022

Auto re-width Vertical Split to longest line visible in pane

People,

I routinely have a Vim window with two vertical splits giving me three
panes - the first two panes are views on a text file and the third pane
is a vertical terminal.

Is there a way for auto-sizing the width of the two left panes when I am
scrolling up and down in them so that the width of the pane is the
length of the longest visible line + one space?

This will allow for the third pane always having the greatest width for
doing terminal things while not truncating any lines in panes 1 and 2 .
.

Thanks,

Phil.
--
Philip Rhoades

PO Box 896
Cowra NSW 2794
Australia
E-mail: phil@pricom.com.au

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/0b04a53e84f00fa34744bc8823a8643c%40pricom.com.au.

No comments: