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,367 of 123,932   
   Janis Papanagnou to All   
   Re: how i use [wt] and [rt] to Copy-Past   
   07 Mar 24 14:38:22   
   
   From: janis_papanagnou+ng@hotmail.com   
      
   On 07.03.2024 10:50, G wrote:   
   > Lawrence D'Oliveiro  wrote:   
   >> On 6 Mar 2024 09:33:41 GMT, G wrote:   
   >>   
   >>> Lawrence D'Oliveiro  wrote:   
   >>>   
   >>>> On 4 Mar 2024 09:10:21 GMT, G wrote:   
   >>>>   
   >>>>> Lawrence D'Oliveiro  wrote:   
   >>>>>>   
   >>>>>> On 3 Mar 2024 09:10:32 GMT, G wrote:   
   >>>>>>   
   >>>>>>> If you havo more then a few lines to copy or just check the   
   >>>>>>> differences between two similar files "vimdiff file1 file2" is quite   
   >>>>>>> useful. It has specific commands to copy from or to the other file.   
   >>>>>>   
   >>>>>> In normal editors, you use the same commands for cut/copy/paste as   
   >>>>>> you would when editing a single file.   
   >>>>>   
   >>>>> And in vimdiff you can use those command if you want (it is still vim   
   >>>>> after all), or use the specific command if you want do things faster.   
   >>>>   
   >>>> In Emacs, you can have two files open side by side. Or even more than   
   >>>> two.   
   >>>   
   >>> That's what "vimdiff" does ...   
      
   Actually, if all I want is edit two files with Vim I wouldn't   
   use vimdiff but the ordinary vim call, because vimdiff does a   
   lot that I usually just don't want (unless comparing files);   
   e.g. the coloring of file differences.   
      
   >>   
   >> We already gathered that. We don’t need to start Emacs in a special mode   
   >> to get that.   
   >   
   > We don't "need" to start vim in a special mode to get that either, but it's   
   > faster ad easier. As I said it's just the usual vim with the options you need   
   > to do what you want already there. If you prefer to do it the Emacs way you   
   > can start vim with one file, load the second and give the commands to start   
   > the "diff" mode; I just don't see why you would want to do that.   
      
   Yes, you can load a second (or third, etc) file in one step by   
   :split file2 or by :vsplit file3 (the latter for side by side).   
   No extra command necessary. If we have provided the files on   
   the command line already we need only :split (or :vsplit) to   
   get two views of the first file and :n to see the second file   
   in one of the split window.   
      
   But note that the other poster is likely more interested in   
   an argument or a flame war given that he wrote in a parallel   
   thread: "Emacs is the world’s most powerful editor.", so he   
   might not be interested in Vim facts or to learn about what   
   Vim actually provides beyond his prejudice or preferences.   
      
   Janis   
      
   --- 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