junegunn/goyo.vim

Option to retain normal &sidescrolloff value

adigitoleo opened this issue · 1 comments

Today I realised that Goyo sets sidescrolloff=0 by default. This behaviour doesn't really work for me (small laptop screen), especially because I use nowrap. After the automatic formatting splits up a long line that I just wrote, the start of the new line is out of view to the left.

If this is something you are open to, I am happy to work on a PR (next week) to make this behaviour optional (unless someone can do it earlier). For now I can use the GoyoEnter autocommand to persist my normal sidescrolloff setting.

Let me know what you think.

Closing since I no longer use this plugin and I won't get time to do this in the near future.