3 ms·
Do you mean scrolling with a mouse? It might sound a bit arrogant, but there's rarely any good reason to scroll with a mouse in vim.
by alfla 9y ago
Do you mean scrolling with a mouse? It might sound a bit arrogant, but there's rarely any good reason to scroll with a mouse in vim.
- revscat 9y agoI would like to second this, and support you in that I don’t think it is an arrogant sentiment. Many of the efficiency gains vim gives you are the result of being able to navigate anywhere in a document or on a line with a few keystrokes. The mouse is comparatively slower, once the navigation commands are familiar.
- no_wizard 9y agoI disagree, in only that good mouse support can help ease the transition and in some cases it may simply come down to user preference for some things. I don’t think personally that any text editor should be overly opinionated in how a user interacts with it; too much at least. I do agree that it is mostly more effective to not use a mouse once you know the commands
- chestervonwinch 9y agoPerhaps with a mouse, but not necessarily. I don't think your statement re: mouse scrolling applies universally. For programming script documents, sure -- each line is likely limited to the 80 column mark, and so the lines are quite short. However, with Latex documents, for example, very long lines (i.e., paragraphs) are a big pain for me (even with vimrc options `set display=lastline` and `set linebreak`). In typical GUI text editors, the wrapped lines of long lines are treated as sort of "pseudo lines" themselves. This means when I cursor down (via mouse or keys), the cursor doesn't jump to the next newline after the paragraph (as it does with vim). Apparently, this last described problem can be addressed [1]. So maybe the solution is that I need to spend more quality time with my vimrc? :) [1]: http://vim.wikia.com/wiki/Move_cursor_by_display_lines_when_wrapping http://vim.wikia.com/wiki/Move_cursor_by_display_lines_when_...
- rudedogg 9y agoI think they're talking about animating scroll changes. Web browsers do this, if you press page down, it animates the change(it's subtle, the animation only lasts a fraction of a second). In Vim, it'll just do an instant repaint, so you kind of lose context.