On 25/12/11 18:27, Peng Yu wrote:
Hi,

<html>
   <body></body>
</html>

If I paste the above code to vim (with command+p) on my mac, I get an
extra line on the bottom. It seems that vim tries to matches the tags
<html>  and<body>  without recognizing that they are already matched.

</body></html>

However, the gvim doesn't have the problem and it doesn't
automatically indent the text that I input at all. I think that the
difference must be in the compilation enabled options. But I can not
tell which one cause the problem. Could anybody take a look and let me
know if which option cause the problem?

/tmp$ vim  --version
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Dec 22 2011 11:07:02)
MacOS X (unix) version
Included patches: 1-244, 246-353
Compiled by [email protected]
Normal version without GUI.  Features included (+) or not (-):
[...]

Pasting within Vim (via some internal register, probably the default "" register) or pasting from outside (via the clipboard)?

N.B. Compiled with +clipboard -X11 -xterm_clipboard


Best regards,
Tony.
--
"Not only is God dead, but just try to find a plumber on weekends."
                -- Woody Allen

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