Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

ViM: Turn Off Folding

📅 2010-Apr-21 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ folding, vim ⬩ 📚 Archive

ViM automatically turns on folding for certain files. I do not like folding and keep it disabled all the time by adding this to my vimrc:

set nofoldenable

To disable only for the current session type:

:set nofoldenable

© 2022 Ashwin Nanjappa • All writing under CC BY-SA license • 🐘📧