Gary Johnson wrote: > When the cursor is moved to the next misspelled word using ]s, and > then j or k is used to change lines, the cursor moves to the column > it was on before ]s was executed instead of staying in the same > column it was in after the ]s move. This is annoying and seems like > a bug. > > To demonstrate this behavior, create the following file, > > ----------------------------- mary.txt ----------------------------- > Mary had a little lamb, > Its fleece was white as snow, > And everywhere tht Mary went, > The lamb was sure to go. > -------------------------------------------------------------------- > > and open it with the following command, > > $ vim -N -u NONE -i NONE -c 'set spell' mary.txt > > Then move the cursor to the start of "had": > > w > > then to the start of "tht": > > ]s > > and then up to the preceding line: > > k > > Note that the cursor moves to the l in "fleece" rather than to the > w in "white". > > I'm using vim 8.0.1257 on Linux. I observe the same behavior on > gvim 8.0.1389 on Windows 7.
I'll fix it. -- Drink wet cement and get really stoned. /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
