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

Fix window split position on Neovim #29

Closed nzbart closed 2 years ago

nzbart commented 2 years ago

As reported in #28, there is a problem when switching between buffers in split windows. This is a potential fix/workaround as proposed by @natecraddock.

Patch is from this comment:

https://github.com/farmergreg/vim-lastplace/issues/28#issuecomment-1047085642