Is it possible to prevent VSCode from unfolding a folded code section if I move past it with my cursor using the arrow keys?
A common workflow I have coming from Atom is to fold parts of my code, then move my cursor down below the folded sections to get to later sections of a file. If I do this in VSCode, the folded section will unfold as soon as my cursor crosses the top of the section. I want it to move past it instead.
Here's an example:
I searched my prefs and Google for a setting, but couldn't find one.
nmap j gj
andnmap k gk
in~/.config/nvim/init.vim
. – Sells