Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.