fixed remember line autocmd, improved code style
added support for code folding