I cannot repro this. ^P/^N works fine for me on the sample text, with or without -u NONE.

My gvim:

VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Aug 3 2011 06:50:03)
MS-Windows 32-bit GUI version
included patches: 1-266
Big version_with GUI.


On 8/11/2011 4:17 PM, Danek Duvall wrote:
When I'm using ^P/^N to complete words after doing something like "cw" the
characters between the end of the current completion and the $ get a bit
garbagey.

Given the following contents of a file (extracted from my .zshrc), go to
the word "beginning", type "cwr" and then start hitting ^P.  You'll see
first "returnsn$" which makes some sense, then "return-n$" (where did the
"-" come from?), then "re-sea-n$" (no idea where any of that came from),
then exactly the same (it didn't even bother emitting "_images"), but then
just "RR", and "release", and everything seems to be okay at that point.
I'm guessing that once it hits a completion that's as long or longer than
the changed text, everything is okay from that point on.

     reverse
     rs1
     redisplay
     READNULLCMD
     REPORTTIME
     Radix
     read
     root
     relies
     run
     rf
     reset
     reply
     revision
     removed
     rsync
     rss
     RSS
     release
     RR
     re_images
     re
     return
     returns

     history-beginning-search-backwards

This started happening between 7.3.244 and 7.3.254.  Perhaps it came in
with 7.3.246?  It's completely reproducible with -u NONE.

Any ideas?

Thanks,
Danek

-- David

--
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

Raspunde prin e-mail lui