home bbs files messages ]

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

   alt.os.linux.suse      Suse is actually not that bad      138,051 messages   

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

   Message 136,819 of 138,051   
   intertubes@gmx.net to William Unruh   
   Re: Vim behaving weirdly   
   27 Jul 19 09:57:43   
   
   On Saturday, July 27, 2019 at 3:21:58 PM UTC+2, William Unruh wrote:   
   > On 2019-07-27, intertubes@gmx.net  wrote:   
   > > I sometimes use vim to update text files and the current version for   
   Opensuse 15.1 (vim-8.0.1568-lp151.5.3.1.x86_64) seems to be misbehaving at   
   times.   
   > >   
   > > - I locate some text using "/wronglyText"   
   > > - ESC   
   >   
   > You could just do /wronglyText   
   > and it would find the next instance. Then to find the next, just do   
   > /   
   >   
   > > - Now I can update it if I feel the need.   
   > >   
   > > - repeat with some other text, call it "otherText"   
   > >   
   > > Sometime around now, locating "newText" still works but when I hit ESC it   
   jumps away from the newly located text to a previous hit, now using "n" to   
   "locate next instance" it searches for "otherText".   
   > >   
   > > It may possibly be text number 4 which triggers this, not text number 3.   
   > > Exiting and re-entering vi does not help, it is fixated on the results of   
   a previous locate.   
   > > I have been looking around for where vim "remembers" things but without   
   success.   
   >   
   > .viminfo ?   
      
   Thanks, I was looking in subdirectories of $home.   
   .viminfo was 37k and simply renaming it to something vim does not recognise   
   has fixed the problem for now.  It is not as though I actually care about the   
   contents.   
      
   --- 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