Skip to main content
simulate's user avatar
simulate's user avatar
simulate's user avatar
simulate
  • Member for 6 years, 6 months
  • Last seen more than a month ago
awarded
awarded
awarded
awarded
revised
Loading…
Loading…
Loading…
comment
How to map commands to key release events
@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.
comment
How to map commands to key release events
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.
comment
How to map commands to key release events
@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...
asked
Loading…
accepted
awarded
comment
answered
Loading…
comment
Autoreload vimrc when writing to vimscript files
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
Loading…
comment
Move cursor and screen together
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.
awarded