In my .vimrc
I've put set foldmethod=syntax
to enable folding of methods etc. However, I don't like the default that everytime I open a file, the whole thing is folded. Is there a way to enable foldmethod
, yet have files unfolded when I open them?
相关问题
- Emacs shell: save commit message
- Lazily Reading a File in D
- How to change the first two uppercase characters o
- Insert text into current buffer from function
- C# How do I create code to set a form back to defa
相关文章
- 如何让 vim 支持 .cshtml 文件的代码高亮
- How to replace file-access references for a module
- Auto-save in VIM as you type
- How can I use gcc's -I command to add recursiv
- Why is file_get_contents faster than memcache_get?
- Transactionally writing files in Node.js
- Vim: overloaded mapping for multiple modes
- How to use relative line numbering universally in
You can add
to your .vimrc file, and it will start editing any new file with all folds open.