home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux      Getting to be as bloated as Windows!      107,822 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 105,839 of 107,822   
   Stan Brown to Oliver   
   Re: Fixing Thunderbird, gVim and Windows   
   11 Feb 24 12:56:32   
   
   XPost: alt.comp.os.windows-10, alt.comp.software.thunderbird   
   From: the_stan_brown@fastmail.fm   
      
   On Sun, 11 Feb 2024 11:05:29 -0700, Oliver wrote:   
   > gVim can set line length, but I can't figure out how yet as this should   
   > work but it doesn't "do anything" unless you're typing already on the line.   
   >   :set textwidth=80   
      
   While you're typing Vim or gvim will insert a hard carriage return   
   before a word that contains the 81st character on a line (based on   
   your example of :set tw=80). BTW, 80 is probably too long for   
   monospace characters to be read comfortably.   
      
   > The good news is this doesn't truncate words when it works but it   
   > doesn't really work because you have to be _editing_ the line to   
   > work.   
      
   Not quite accurate, I'm afraid.   
      
   1. It's not just any "editing" but the very specific act of inserting   
   or appending characters. Editing commands like :s never trigger   
   breaking the line (unless of course your replacement text contains   
   \r, which is a line split).   
      
   2. Even when editing or appending, if your new characters don't   
   actually cross over the "textwidth"th character, the line won't be   
   broken.   
      
   3. You can of course rewrap previously typed lines, with the gq   
   command. Again, the rewrap inserts hard returns.   
      
   --   
   Stan Brown, Tehachapi, California, USA         https://BrownMath.com/   
   Shikata ga nai...   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca