Hi Tim!
On Di, 13 Nov 2012, Tim Chase wrote:
> The :t and :m commands are also helpful for gathering lines in a :g
> command such as
>
> :g/pattern/t$
> :g/pattern/m$
>
> which will either copy the lines to the bottom of the file for
> review, or move the lines to the bottom of the file for
> reviewing/ignoring purposes. I use both regularly, especially when
> dealing with CSV files.
Since you mentioning CSV files, I thought I'll add the CSV plugin. It
let's you dynamically filter lines for certain patterns and folds away
all non-matching lines. I especially use this technique to review
records (while e.g. keeping a header line). Plus it adds some nice
syntax highlighting and can arrange your data into a spreadsheet look.
regards,
Christian
--
Komik entsteht, wenn man Tragödien anschaut und dabei ein Auge
zukneift.
-- Eugčne Ionesco
--
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