A Filetype plugin for csv files.
Latest commit d5bf184 Jan 14, 2015 @chrisbra chrisbra committed with Version 31
- fix that H on the very first cell, results in an endless loop (chrisbra/csv.vim#31, reported by lahvak, thanks!)- fix that count for |AddColumn| did not work (according to the documentation) (chrisbra/csv.vim#32, reported by lahvak, thanks!)- invalid reference to a WarningMsg() function- WhatColumn! error, if the first line did not contain as many fields as the line to check.- Rename |:Table| command to |:CSVTable| ( chrisbra/csv.vim#33, reported by Peter Jaros, thanks!)- Mention to escape special characters when manually specifying the delimiter. chrisbra/csv.vim#35), also detect '^' as delimiter.- Csv fixed with columns better use '\%v' to match columns, otherwise, one could get problems with multibyte chars- Sorting should work better with csv fixed with patterns (could generate an inavlide pattern before)- Refactor GetSID() (provided by Ingo Karkat chrisbra/csv.vim#37, thanks!)- New public function |CSVSum()|- Restrict |csv-arrange-autocmd| to specific file sizes (suggested by Spencer Boucher in chrisbra/csv.vim#39, thanks!)- Make |:CSVSearchInColumn| wrap pattern in '%\(..\)' pairs, so it works correctly with '\|' atoms- Small improvements on |:CSVTable| and |:NewDelimiter| command- <Up> and <Down> should skip folds (like in normal Vi mode, suggested by  Kamaraju Kusuma, thanks!)(automatically uploaded)
Failed to load latest commit information.
doc Version 31 Jan 16, 2015
ftdetect Version 28 Sep 28, 2013
ftplugin Version 31 Jan 16, 2015
plugin Version 31 Jan 16, 2015
syntax Version 31 Jan 16, 2015
README Version 27 Sep 28, 2013


This is a mirror of http://www.vim.org/scripts/script.php?script_id=2830

This plugin is used for handling column separated data with Vim. Usually those 
files are called csv files and use the ',' as delimiter, though sometimes they 
use e.g. the '|' or ';' as delimiter and there also exists fixedwidth columns. 
The aim of this plugin is to ease handling these kinds of files.               
This is a filetype plugin for CSV files. It was heavily influenced by          
the Vim Wiki Tip667 (http://vim.wikia.com/wiki/VimTip667), though it           
works differently.

Also you can create ascii tables using :Table

For a screenshot, of  how the plugin can be used, see

Please vote for the plugin, if you like it!

This little filetype plugin allows among others:
 -  Display on which column the cursor is as well as number of columns
 -  Search for text within a column using :SearchInColumn command
 -  Highlight the column on which the cursor is using :HiColumn command
 -  Visually arrange all columns using :ArrangeColumn command
 -  Delete a Column using :DeleteColumn command
 -  Display a vertical or horizontal header line using :Header or :VHeader command
 -  Sort a Column using :Sort command
 -  Copy Column to register using :Column command
 -  Move a column behind another column using :MoveCol command
 -  Calculate the Sum of all values within a column using :SumCol command (you can also define your
    own custom aggregate functions)
 -  Move through the columns using the normal mode commands 
    (W forwards, H backwards, K upwards, J downwards)
 -  sets up a nice syntax highlighting, concealing the delimiter, if your Vim supports it
 -  dynamic filtering (Press enter on a value and all other lines, that don't have this value in this column
    will be folded away. Press enter on another value and this value will be ANDed to the filter list. Press
    Backspace to delete the last item from the filter list. Press Space to fold all lines, that have the same value
    in the current field, Press Enter to fold all lines, that have a different value in the current field.
    Use :Filters to see what filters are actvie)
 -  Analyze all values of a column (distribution) using :Analyze command
 -  Insert new records, using :NewRecord command
 -  Implement a wizard to setup fixed-width CSV files using :CSVFixed
 -  Hide certain columns, using :VertFold
-   :Table to create ascii type tables (this function is available as plugin for all filetypes)

Please read the help on how to use the plugin
 :h ft-csv.txt