Tuesday, June 15, 2010

Vim scroll option

Hi,

I don't like extremly fast scrolling, so I want to reset the scroll variable to a lower value (Important when using <C-D> or <C-U>
Unfortunately it is reseted each time a window is resized, this is quite annoying.
I solved the problem by rebinding of the <C-D> and <C-U> keys

nmap <C-D> 5j
nmap <C-d> 5k

This is working fine, but I asked myself if there is a better method with which I can set the scroll variable to a permanent value?

Tia,
Benny Bürger

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: