Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Vim: how to disable CSV.vim plugin?

Tags:

vim

bigdata

I installed this plugin CSV.vim but it is firing all the time different errors such has E363 with big files (memory limit problems and others). Apparently, a better solution is to use asynchronous NeoVim/nVim with big files but now on I want to get the basic vim back without highlighting alerting all the time with big files. How can I disable this plugin after sourcing it?

like image 737
hhh Avatar asked Jan 24 '17 14:01

hhh


1 Answers

This is a filetype plugin; that means that ftplugin/csv.vim gets sourced on each CSV file again. To disable it, there are several options:

  • As the plugin defines a completely new filetype, you can just open a file with a different filetype: :edit +setf\ text myfile.csv
  • To trigger it only on demand, move the script up one directory and invoke with :runtime csv.vim
  • To turn off the plugin after the fact, switch to a different filetype: :setf text
like image 138
Ingo Karkat Avatar answered Oct 02 '22 21:10

Ingo Karkat