Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've set noremap j gj and k gk in gVim for particular filetypes, to make Vim move by display lines rather than "actual" lines during navigation. However, I also frequently use the Ctrl-E shortcut to scroll through the buffer without changing cursor position, and I don't know how to make that scroll a display line only. Is there a way to achieve this?

share|improve this question

This is not possible. (With :set wrap,) Vim will always scroll by entire physical lines (also when scrolling via the scrollbar). I guess this is a limitation of the implementation.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .