FG
💻 Software

vim: enable folds but don't automatically close them

Fresh5 days ago
Mar 15, 20269098 views
Confidence Score0%
0%

Problem

I really like the folding in Vim, but there are a couple non-file buffers (command-t plugin's window for one) that I really don't want it folding, as the normal fold commands don't work there. If I could just tell vim to not automatically close folds (only close them when I tell it to) that should …

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: vim: enable folds but don't automatically close them

Low Risk

The command to have no folds closed when a buffer is opened is See for more.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment