0

I recently discovered that vim can fold code. It works quite good with zc but when I move down with j then the code unfolds. How how can I prevent it from unfolding when I move with the cursor? Is there maybe an option to only unfold manually ?

  • 1
    I'm pretty sure that is not the built-in behavior so it means that it probably come from a configuration in your vimrc. You should follow this question and edit your question with your findings. – statox Jun 25 at 7:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.