Sunday, January 8, 2012

SOLVED: syntax file for column-fixed language (LSDYNA)

Hello Tim,

it's exactly what I asked for.
Thank you very much!!!

regards
Edwin

BTW: It a great pleasure using vim - my collegues are working with an
texteditor in a notepad-like manner and they really don't know what they
miss...

Am Sonntag, 8. Januar 2012 19:47:27 schrieb Tim Chase:
> On 01/08/12 08:43, Edwin Miller wrote:
> > /\s*[1-9][0-9]*\s*/
> >
> > but how to tell vim that this regex should only match e.g column 2?
>
> It sounds like you might want the \%c or \%v tokens, something like
>
> /\%10c\s*[1-9]\d*\s*\%20c/
>
> The difference between the "v" and "c" versions regard how they
> treat tab-character expansion (is it one character, or
> 'shiftwidth'ish characters).
>
> :help /\%c
> :h /\%v
>
> -tim

--
----------------------------------------

Edwin Miller
Virchowstrasse 43
89075 Ulm

Tel: 0176-780-16346
eMail: edwin.miller@web.de

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