On Di, 04 Aug 2020, mckel...@gmail.com wrote:
> Hi,
>
> Is it possible to scroll like <C-e> but have it be virtual/screen line and not whole line ?
> I want to have wrap on, but also want to scroll by screen line when I have long lines.
> Does anyone know if that is possible ?
> Sort of like: j -> gj ; <C-e> -> ???
> I suppose I could do the math in a function and go to bottom of screen and gj X times then go back to previous line, col - but does anyone know of a better way ?
Not really possible. I believe there are some plugins that improve this
behaviour like https://github.com/lukelbd/vim-scrollwrapped but it might
be still a bit hacky.
It's been on my list to look into it, but I never came to it.
Best,
Christian
--
Ein erfolgreicher Mann ist ein Mann, der mehr Geld verdient, als seine
Frau ausgeben kann. Eine erfolgreiche Frau ist eine, die einen solchen
Mann findet.
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20200806074237.GG4701%40256bit.org.
No comments:
Post a Comment