Currently my init.vim (neovim's equivalent to the .vimrc) sets the foldmethod to marker: set foldmethod=markerWhen I open a file all sections are folded and if the curser is placed in the according line and moved to the left it will open automatically.It would be awesome if there was a way to have a similar experience when moving to the left (ergo: When I move to the left up against the start of the line. I want the section to be folded).How is this possible?
Fold/Unfold on moving vertically
cursor movement;cursor motions;folding;neovim