Wednesday, August 26, 2009

Re: inserting a column of &s into a text table for latex

> Tim, sometimes I have tabs between the data and sometimes, white spaces,
> it changes.

Then you should be able to use the

:'<,'>s/\s\+/ \& /g

to search for one-or-more whitespace characters (spaces or tabs)
and replace them with "space space literal-ampersand space
space". Adjust the replacement as you so desire.

-tim


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

No comments: