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,842 of 107,822   
   Frank Slootweg to Oliver   
   Re: Fixing Thunderbird, gVim and Windows   
   12 Feb 24 14:51:24   
   
   XPost: alt.comp.os.windows-10, alt.comp.software.thunderbird   
   From: this@ddress.is.invalid   
      
   Oliver  wrote:   
   > On Sun, 11 Feb 2024 12:56:32 -0800, Stan Brown    
   > wrote   
   >   
   > > 3. You can of course rewrap previously typed lines, with the gq   
   > > command. Again, the rewrap inserts hard returns.   
   >   
   > I can't get "gq" to work. It says "Not an editing command :gq".  Can   
   > you explain how it would work in a typical gvim session?   
      
     Oops! In my earlier response, I said to use Ctrl-V, but it is Shift-V,   
   i.e an upper-case 'V'.   
      
     That said, ...   
      
   You use 'gq' when you're *not* in insert mode and it's not a colon command, so   
   not ':gq' but just 'gq' (without quotes). See my earlier   
   response on how to select a section with Shift-V  and the cursor key(s).   
      
     Specifically: If I want to reformat the badly formatted (first line is   
   too long) paragraph I just typed, I exit insert mode (esc), move the   
   cursor to the 'Y' of 'You', type Shift-V ('V') (press and hold Shift and   
   hit the 'V" key), the first line is now highlighted (in my case in   
   inverse video), now use the cursor keys(s) to move over the section of   
   text to be selected - i.e. in this case one time the cursor down key, so   
   all two lines are hightlighted, finally - at the end of the selection   
   (i.e.  the dot at the end of 'key(s).' is within the selected area), hit   
   the 'g' and 'q' keys, the selected section will now be reformatted. and   
   the result will be:   
      
      
   You use 'gq' when you're *not* in insert mode and it's not a colon   
   command, so not ':gq' but just 'gq' (without quotes). See my earlier   
   response on how to select a section with Shift-V  and the cursor key(s).   
      
      
     You can also mark the area to be selected with the 'mouse' or/and with   
   other cursor key(s), i.e. for example mark from bottom to top instead   
   of from top to bottom. And you can of course mark parts of a paragraph   
   instead of the whole paragraph.   
      
   > 1. I compose a lengthy diatribe in gvim without line length worries.   
   > 2. I've pasted extra stuff into that treatise, with other line lengths.   
   > 3. Now I want to format the whole mess into nice neat lines using   
   >     :set textwidth=80   
   >     :set wrapmargin=8   
   >   
   > What exactly do I do because everything I've just tried doesn't do it.   
      
     HTH.   
      
   --- 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