Friday, February 11, 2011

Re: vim matching regex for Tabular.vim

On 08/02/11 11:11, Kim Schulz wrote:
> It works if I limit it to some specific lines ( by selecting them i
> visual). If I do not do this, it will match any line that has two
> words split with a space (= pretty much any line in my code).
> It would probably work if the match took into consideration that it
> word should be the last on the line and that it is followed by a ;
> (semicolon).
>
Tab accepts ranges, eg.
1,5Tab /[…]

I tested it in MacVim. The result was the first non-blank chars were cut
off by Tabular, but aligned the rest ok. Odd. Used /\s\zs

Cheers,
--

------------------------------------------------------------
Daniel Corrêa
+55 (45) 9938.3993
http://about.me/dnlcorrea

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

No comments: