I have lines in a file that extends beyond the right extent of the

screen. How do I move the Vim view to the right to see the text off the screen? You can use one of the following commands to horizontally scroll the screen to the left or right:

cmd  scroll to 
---  -------------------------- 
zl   scroll to the left
zh   scroll to the right
zL   scroll half a screenwidth to the left
zH   scroll half a screenwidth to the right
zs   scroll to position the cursor at the start of the screen
ze   scroll to position the cursor at the end of the screen

Comments (1)


Pepsh Pepshinsky

Let’s see you to :help viminfo-file-name (option -i) :set viminfofile=NONE


Speak Your Mind