On 10/03/11 9:50 PM, Fernando Basso wrote:
I was doing f<Space>  and I noticed that vim did not jump
to one specific 'space' (of course, that was not a space).

'ga' then showed<  >  160, Hex 00a0, Octal 240 between 'gtpl' and
':call' in the first line of  that code. The same thing between
'silent' and '! echo'.

I replaced those with a 'real' white space and it is working
wonderfully well now.

Just one more thing because  it seems very
intriguing to me: did you copy/paste the code to
your vimrc or typed it in? I copied mine from firefox
and pasted with "+p. Then visually selected it and did =.

I copied and pasted it from your email using Thunderbird. It looks like
the non-breaking spaces are still in your email source as I received it,
so I guess Thunderbird's viewer or editor must've substituted it for a
normal space at some stage.

It's annoying that it should get copied from Firefox at all, though. I
wonder if that's a problem we can address on the Wiki, as it's going to
cause a lot of users really confusing problems if when they copy+paste
code it has a bunch of invisible things causing errors!

Thanks a lot for your help and for your time.

No problem!

Smiles,

Ben.



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

Reply via email to