home bbs files messages ]

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

   comp.editors      What? Edlin ain't good enough for you?      123,932 messages   

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

   Message 123,336 of 123,932   
   Andreas Kohlbach to Janis Papanagnou   
   Re: Vim in Usenet? -- ( shorthand for [P   
   01 Mar 24 13:48:50   
   
   From: ank@spamfence.net   
      
   On Fri, 1 Mar 2024 06:42:44 +0100, Janis Papanagnou wrote:   
   >   
   > On 01.03.2024 00:40, HenHanna wrote:   
   >>   
   >> for Pasting (within Vim) i always Clicked on [Edit] with my Mouse.   
   >>   
   >>               but today i discovered that... just hitting "p" does the job.   
   >   
   > Okay, now mentioning "Edit" it seems you are using already 'gvim'?   
      
   Never heard of gvim. Google says it's a GUI version of vim.   
      
   Hence gvim should act just like vim, ignoring possible mouse uses.   
      
   > Yes 'p' pastes a copied or cut region after the current line, or   
   > use 'P' to paste it before the current line.   
      
   Also worth mentioning seems to me to append numbers to these.   
      
   2yy   
      
   yanks (copies) 2 lines (after the cursor).   
      
   3PP   
      
   would insert 3 clipboard contents above the cursor position.   
      
   I often use   
      
   1000dd   
      
   to clear the whole document below the cursor, assuming it has no more   
   than 1000 lines. But if,   
      
   .   
      
   repeats the last command (deletes another 1000 lines below in this case).   
      
   vim becomes quite handy once you learned some of its basic shortcuts.   
   --   
   Andreas   
      
   Vintage arcade video games https://ankman.de/   
      
   --- 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