问题
Every time I open one of my markdown (.md extension) files in my MacVim, they automatically fold lots of lines, which is a pathetically frustrating feature in almost all cases. And even after I added set nofoldenable in my ~/.vimrc, it doesn't disable the feature at all. Writing in ~/.gvimrc doesn't work, either.
So is it feasible to disable it? And what am I missing?
I also wonder why the depressing folding feature only functions in my markdown files. As far as I know, all the other extension I use don't conform to the functionality.
I use OS-X default Vim 7.3 and Mavericks 10.9.1.
回答1:
Have you tried with
au FileType markdown setlocal nofoldenable
来源:https://stackoverflow.com/questions/21547681/set-nofoldenable-not-working-in-my-vim-why