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,909 of 123,932   
   Eli the Bearded to *@eli.users.panix.com   
   Re: Vim 9 - but older releases preferred   
   17 Nov 25 20:19:03   
   
   From: *@eli.users.panix.com   
      
   In comp.editors, Eli the Bearded  <*@eli.users.panix.com> wrote:   
   > In comp.editors, Janis Papanagnou replied to me:   
   >> Occasionally it's useful. - Mind surprises, though, e.g. when   
   >> trying to increment the month or day component of an ISO date!   
   > This sounds like you would benefit from setting nrformats.   
   >   
   > default: nrformats=bin,octal,hex   
   >     0b1011  >> ctrl-a >>  0b1100   
   >     001357  >> ctrl-a >>  001360   
   >     0xfeed  >> ctrl-a >>  0xfeee   
   >     456789  >> ctrl-a >>  456790   
   >   
   > empty: nrformats=   
   >     0b1011  >> ctrl-a >>  1b1011   
   >     001357  >> ctrl-a >>  001358   
   >     0xfeed  >> ctrl-a >>  1xfeed   
   >     456789  >> ctrl-a >>  456790   
   >   
   > In each case, cursor was on first non-blank character. When it is blank,   
   > only decimal numbers are recognized.   
      
   By email, but apparently not in the newsgroup, Janis Papanagnou alerts   
   me to the issue being the - seperator:   
      
      2025-11-17  >> ctrl-a (on the "1" in 17) >> 2025-11-16   
      
   Whereas I had been thinking of the 07 to 10 issue in months and days.   
      
   There's indeed a fix for these - separated dates, if you use them   
   regularly:   
      
   set nrformats=unsigned   
      
      2025-11-17  >> ctrl-a (on the "1" in 17) >> 2025-11-18   
      
   Elijah   
   ------   
   it's all in the help files   
      
   --- 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