On Thursday, March 16, 2017 at 2:03:07 AM UTC-4, sinbad wrote:
> In split window environment how to make vim to automatically adjust its size to the longest length of the line. is there any plugin that already does it ? Basically i don't expect the size to shrink, but to grow when the line is long enough, at the expense of shortening the other split windows.
> ~
I would expect that any plugin to do this wouldn't work very well. The reason for this is that lines in messy code (written by others of course) can often be very long. The screen itself is often the limiting factor.
I suggest using the 'wrap' option and setting a toggle for it. This makes the text readable without a complicated plugin and can also be quickly switched on/off. Further, resizing windows using the mouse is often the most convenient option (click and drag the separator like you would in any other editor). If you aren't already doing this you should start because using keyboard commands to size your windows is an absolute pain.
--
--
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.
For more options, visit https://groups.google.com/d/optout.
Friday, March 17, 2017
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment