Say I paste the entire jquery function into a file (just as an example.. i know thats not practical but for sake of example).
WHen you try to scroll past it, it shows 1 line of it and then ‘jumps’ to the code under it. I want it to behave just like normal.. if wordwrap is on then when i scroll it just scrolls through the one large long line normally, not try to jump before it and after it and then fill it in with tons of whitespace
I’m not 100% positive I understand your question, but if you want to be able to use the normal directional keys (j and k) to navigate up and down wrapped lines instead of entire lines of code, you can remap the keys as such:
For a more in-depth solution to your problem (including additional mapping, and a leader function to change mappings with wrap mode), see “Move cursor by display lines when wrapping”.