CSVTK : Tool kit to work with Comma Separated Values files
script karma |
Rating 1/3,
Downloaded by 972 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Christophe R |
|
script type |
utility |
|
description |
CSVTK Provides functions and mappings to help working with CSV files or
any files where a separator (e.g. a comma) is used between values and
where values can be enclosed between delimiters (e.g. double quotes).
Separators characters inside delimiters are not considered as separators.
Field numberting starts at 1.
Mappings allow user to:
* Jump to a specific field,
* Display the field number of the field under the cursor,
* Return the value of field (given the field number) on current line or
specified line,
* Toggle highlighting for each field (in one or several colors).
The highlight will show in the current line and be updated when user
changes line (the highlight is updated thanks to an autocomand on the
CursorHold event, therefore it is not updated when in insert mode). The
separator following the field is highlighted as part of the field.
Also, a few examples are provided to show how to display the current field
number in the status line (so you always know what field you're in) and
how to fold lines depending on field content. |
|
install details |
Place in your plugin directory.
Look at the begining of the script for more info.
Look at the mappings near the end of the script, and change as you wish.
Look at the example at the end of the script.
Requires vimscript#171
Optional but recommended: vimscript#479 |
|
script versions (upload new version)
Click on the package to download.
csvtk.vim |
1.1 |
2006-01-21 |
6.0 |
Christophe R |
Added one function and two mappings to jump to the next/previous highlighted field.
The script now requires the genUtils.vim script (for the 'CmpByNumber' sort function) |
csvtk.vim |
1.00 |
2005-07-30 |
6.0 |
Christophe R |
Initial upload |
ip used for rating: 3.145.201.71
|