Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
@D.BenKnoble I will give it a try. That still does not replace instant scrolling, of course. Whether scrolling is the right tool is up for debate, I would argue there are situations where scrolling a few lines is more efficient than checking how many lines to jump and typing <n>j.
What made me notice this was the vim plugin for my browser. there I mapped j and k to scrolling down and up, and this starts to scroll smoothly instantly, which is really enjoyable. There are many UI standards vim doesn't live up to anymore, I only use it because it is the most lightweight and simple (compared to IDEs with vim mode). But I hope we get a vim successor soon.
@D.BenKnoble I have a mapping CTRL-j to 4j, but I don't see anything wrong with scrolling visually. I am frequently just trying to go down a few lines and it is tedious to count how many lines I have to jump and then type in a different key combination each time. I just want to scroll and use visual feedback to know when I'm there. However with vim I would have to endure a short pause before scrolling starts, so I am using my CTRL-j mapping or of course CTRL-d for larger jumps. Some day there ought to be a modern vim-like editor though...
No, it did not happen if I sourced manually.. I don't exactly know what does it but with this code it works: augroup reload_vimrc | autocmd! | autocmd BufWritePost *.vim,vimrc,$MYVIMRC ++once source $MYVIMRC | e | augroup END
In fact, I like my version better! It actually does make a difference that the scroll starts slower, because then it is easier for your eyes to catch on to the quick movement. It is easier to follow where you are in the document. Maybe I will see to make a pull request to our fellow terryma.