Enabling and disabling word wrap automatically on different file extensions on Vim

前端 未结 3 1706
南笙
南笙 2021-01-06 01:47

I usually have to read .txt files with long lines, and at the same time edit some source file, and I like to see word wrap on the .txt files, and not in the ones that aren\'

3条回答
  •  独厮守ぢ
    2021-01-06 02:27

    you can do lot more with autocommand, refer here: http://www.thegeekstuff.com/2008/12/vi-and-vim-autocommand-3-steps-to-add-custom-header-to-your-file/

提交回复
热议问题