chrisbra/csv.vim — Issue #9: Many Errors after changing the filetype
Author: fanglingsu
Created: 2011-10-15 16:30:06+00:00
State: open

If I load a csv file and want to change the filetype to disable the csv features by setting `:set ft=txt` or somethin similar, I get many error on using h, j ,k , l and the cursor keys for movement that make it impossible to work unti the filetype is set back to csv.

Error for h, j, k and l keys are only shown if `g:csv_highlight_column` is enabled, because the `HiColumn` function isn't available anymore but already referenced throuhgt autocommand for CursorMoved.

Maybe we should have a second function to cleanup all staff done by `InitCSV`.