On 8/4/07, John Beckett <[EMAIL PROTECTED]> wrote:
> One thing I found was that when you copy text out of the displayed code
> block, there is an irritating trailing space on each line when you use the
> "space prefix" method. But when I documented this in the new Code_guidelines
> above, my example did NOT behave in that manner (there was no trailing
> space).

The trailing spaces often come from the original tips on vim.org. This
is not related to the space prefix. The tip you gave as example has
this problem (this is easily visible if you use vim to edit the tips,
and if you use the 'list' option).

To remove all the trailing spaces and tabs with vim, you can use:
:%s/\s\+$//

Cheers,
-- 
Olivier
_______________________________________________
Vim-l mailing list
[email protected]
http://lists.wikia.com/mailman/listinfo/vim-l

Reply via email to