On Wed, July 18, 2012 15:36, Patrick wrote:
> May I direct people to this stack overflow question, which is still
> unresolved:
> http://stackoverflow.com/questions/9906328/vim-scroll-setting-overridden
>
> And especially "Update 2" of the original post.
As the help states, the setting is always reset, when resizing the window
(and also the Vim main frame window) and apparently also when creating
a tab.
So you need to apply some autocommands to set the option to your desired
value, e.g (untested):
au VimEnter,VimResized,WinEnter * set scroll=4
(this is not triggered when resizing windows, so may be you need some
CursorHold event there as well)
regards,
Christian
--
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:
Post a Comment