Hello,
It is very convenient to use folding, for instance if you would like to "hide", i.e. fold, an area of your edited file.
With this config, you can press F9, and it'll fold.
Code:
:set foldmethod=manual
inoremap <F9> <C-O>za
nnoremap <F9> za
onoremap <F9> <C-C>za
vnoremap <F9> zf
However, I would like that the made folding, i.e. pressing F9, stays and comes again when I open my file. Would you know a possible method?
Would it be possible that vim create a tiny file in the given directory of the edited file, so that folding works on any workstations working on this given directory?
thank you and have fun with vim.