0

我正在尝试专门为文本文件禁用交换。但是,autocmd 尝试无法正常工作。是否可以基于文件类型禁用交换?

_vimrc

call pathogen#runtime_append_all_bundles()
call pathogen#helptags()
call pathogen#infect()
filetype plugin indent on
... 
autocmd FileType text set noswapfile // fails ... 
4

0 回答 0