farmergreg / vim-lastplace

A vim / nvim plugin that intelligently reopens files at your last edit position.
https://www.gregd.org/
MIT License
583 stars 28 forks source link

Improve fold behaviour #5

Closed somini closed 9 years ago

somini commented 9 years ago

Open just enough folds to view the cursor line.

Sorry for making a Pull Request for such silly change, I should have noticed that when a file has many folds, zA opens a ton of stuff, makes folds almost redundant.