Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经写了
autocmd! FileType tex set nonumber
在我的_vimrc(运行 Windows)中,但是当我打开我的时,test.tex我仍然看到行号。如果在打开文件后键入,set filetype=tex那么行号就会消失。
_vimrc
test.tex
set filetype=tex
我如何在打开文件时对其进行评估?
尝试
autocmd! FileType plaintex set nonumber