Yukihiro Nakadaira wrote:
> >> I think that the following paragraph is outdated. I confirmed with
> >> vim-5.5.001 and it behaved as explained (I can see only CTRL character
> >> behavior). But vim-7.3.003 didn't.
> >>
> >> insert.txt:
> >> 558 Note that the only times characters beyond the cursor should appear to
> >> move
> >> 559 are in 'list' mode, and occasionally when 'wrap' is set (and the line
> >> changes
> >> 560 length to become shorter or wider than the width of the screen), or
> >> 561 momentarily when typing over a CTRL character. A CTRL character takes
> >> up two
> >> 562 screen spaces. When replacing it with two normal characters, the
> >> first will
> >> 563 be inserted and the second will replace the CTRL character.
> >
> > With what settings does it not work as mentioned? Esp. the 'display'
> > and 'list' options. What is the original text and what do you type
> > exactly?
> >
>
> What I typed is
> vim -u NONE
> i<C-L><C-L><C-L><C-L><C-L><Esc>0gRabcd
>
> What I saw is
> vim-5.5.001
> 1: ^L^L^L^L^L
> v (type a)
> 1: a^L^L^L^L^L <- first ^L is not replaced yet
> v (type b)
> 1: ab^L^L^L^L
> v (type c)
> 1: abc^L^L^L^L
> v (type d)
> 1: abcd^L^L^L
>
> vim-7.3.003
> 1: ^L^L^L^L^L
> v (type a)
> 1: a ^L^L^L^L <- first ^L is replaced
> v (type b)
> 1: ab^L^L^L^L
> v (type c)
> 1: abc ^L^L^L
> v (type d)
> 1: abcd^L^L^L
I see. So how about this text instead:
Note that the only times characters beyond the cursor should appear to move
are in 'list' mode, and occasionally when 'wrap' is set (and the line changes
length to become shorter or wider than the width of the screen). In other
cases spaces may be inserted to avoid characters to move.
--
hundred-and-one symptoms of being an internet addict:
137. You decide to stay in college for an additional year or two,
just so you can have the free Internet access.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.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