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,313 of 123,932   
   Janis Papanagnou to Janis Papanagnou   
   Re: [vim] Jumping from current Unicode s   
   28 Dec 23 04:55:59   
   
   From: janis_papanagnou+ng@hotmail.com   
      
   On 28.12.2023 04:40, Janis Papanagnou wrote:   
   >   
   > Try to copy/paste the line into a Vim session, then move the cursor   
   > onto the first character of the first word, then type * repeatedly.   
   > Then do the same starting with the first character of the third word,   
   > and observe the difference! - Tell me what you think about that.   
      
   Here's the effect visualized, where ^ indicates the cursor position   
   after a '*' operation   
      
      
   Case 1 (cursor starting at first character of the _third_ word):   
      
   Ωmega Ωmega Ωmega Ωmega Ωmega Ωmega Ωmega Ωmega   
               ^                 ^     ^     ^   
      
   (All okay, the four matching words are addressed correctly.)   
      
      
   Case 2 (cursor starting at first character of the _first_ word):   
      
   Ωmega Ωmega Ωmega Ωmega Ωmega Ωmega Ωmega Ωmega   
   ^      ^           ^     ^                          first turn   
    ^     ^           ^     ^                          second turn   
      
   (Not okay: in all subsequent words the first character is skipped.)   
      
      
   This is what annoys me and where I am looking for a solution (or a   
   hint that this is, maybe, an unavoidable flaw).   
      
   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