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.

In Vim you can scroll past the bottom/end of a file with the mouse wheel or with ctrl-E. It adds a ~ per line.

However when using ctrl-Y or the mouse wheel to scroll up, you can't scroll past the beginning of the file. Is this possible?

share|improve this question
    
Why would you need to do this? I can't think of any reason why you would need to but if you explain what you are trying to accomplish that would need this, maybe there is an alternative solution. –  EBGreen Aug 21 '12 at 15:16
    
@EBGreen I have a vertical 2560x1440 screen, I would just like to center small files on the screen. –  paps Aug 21 '12 at 16:18
    
I can see that being a valid desire. I would point out though that this desire is an indication that ergonomically your monitor setup is not optimal. –  EBGreen Aug 21 '12 at 17:16
    
:split could help –  romainl Aug 21 '12 at 17:30
    
@romainl I know there are many ways of fixing my problem. Nevertheless it would have been cool for Vim to have this feature. I don't know any editor that has this. –  paps Aug 21 '12 at 17:50

1 Answer 1

No it's not possible to go above the first line.

share|improve this answer

Your Answer

 
discard

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.