Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Another issue is scrolling visual lines one by one that have been wrapped. (N)vim can only scroll by literal lines, so if a line is longer than the screen and wrapped, there is no way to step through line by visual line.

https://github.com/neovim/neovim/issues/8715



As that issue points out, "gj" and "gk" will step through by visual lines.

The complaint in that ticket is that you can't make it the default for all the other ways of scrolling


That’s strange. I just tested it and both GVim on windows and vim on a vps linux terminal have no problem with going anywhere on a 170k long line. It lags a little but visually is fine.

And just in case you missed it, you may gj gk to navigate visual lines or remap j, k (and <Up>, <Down>) to gj gk to make that default.

I have a genuine question why use nvim at all if it has such issues with presenting text in a window.


This is about _scrolling_ visual lines. Navigating them as you say, is just fine.


Ah, got it, right. Sorry for the noise!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: