Wednesday, September 29, 2010

Arbitrary ends of lines?

I'm dealing with some file formats that have data segments terminated by
an arbitrary segment terminator (in this case '#'). Is there built-in
functionality for dealing with situations like this?

It'd be nice to be able to treat this like a 'ff'.
ff=unix = <NL>
ff=dos = <CR><NL>
ff=mac = <CR>
ff={anything-else} = custom line terminator

Since that currently doesn't exist, though, is there a plugin to do
roughly what that would accomplish?

--
Best,
Ben

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

Post a Comment