Hi
I'm starting to use the conceal feature recently merged
in the vim73 branch. I stumbled upon something which
looks like a bug.
The current line is not concealed, which I assume is
expected to be able to edit the line but I can't find the
documentation for the expected behavior. Several motion
commands in normal mode such as j k gg G make sure
that the current line is non-concealed. However, several
other motion commands do not do that: gj gk { }...
It looks like a bug.
Steps to reproduce:
1) Install the AnsiEsc plugin from:
$ wget http://mysite.verizon.net/astronaut/vim/vbafiles/AnsiEsc.vba.gz
$ vim AnsiEsc.vba.gz -c 'so %'
2) Create a minimalistic vimrc file:
$ echo "set nocp" > vimrc
3) Edit the attached file "colors.txt" with:
$ vim -u vimrc -c ':AnsiEsc' colors.txt
Observe that Ansi escape sequences in color.txt are
concealed except for the line where cursor is located.
Move the cursor with for example j k G gg in
normal mode and observe that the new current line
is always unconcealed (good so far).
Try now to move the cursor with other commands such as
gj gk {number}% { } and observe that they do not update
the concealed/unconcealed state of the current line.
Is it a bug? It happens for Vim in terminal and gvim.
I'm using Vim-7.3a huge (2251:8b3203df361f) on Linux x86.
-- Dominique
--
You received this message from the "vim_use" 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
[31mRed[0m
[32mGreen[0m
[33mYellow[0m
[34mBlue[0m
[35mMagenta[0m
[36mCyan[0m
[37mWhite[0m
[40m[37mBlack Background[0m
[41mRed Background[0m
[42mGreen Background[0m
[43mYellow Background[0m
[44mBlue Background[0m
[45mMagenta Background[0m
[46mCyan Background[0m
[47mWhite Background[0m