How to set scrolling speed of vim like set mouse=a when mouse=v?











up vote
0
down vote

favorite












I wonder how it's possible to set scrolling speed.



As is, when I scroll with my mouse in command or edit mode, it moves only one line at a time.



I prefer to move by example 3 line at a time. (speed up x3).



Any idea how to do this ? :h ScrollWheelUp confusing me.



I use a xterm like terminal.



vim 8.0.707 Debian9 X86_64



Edit:
I have to map 'button 4' to ScrollWheelUp and 'button 5' to ScrollWheelDown (seen values from xev)










share|improve this question
























  • are you using a gui or a terminal? In my gui version, Scrolling using the mouse already scrolls by 3 lines as documented at :h ScrollWheelUp.
    – Christian Brabandt
    Nov 15 at 12:58










  • an xterm like one, only one at a time
    – Mévatlavé Kraspek
    Nov 15 at 13:53












  • I have to map 'button 4' to ScrollWheelUp and 'button 5' to ScrollWheelDown (seen button values from xev)
    – Mévatlavé Kraspek
    Nov 15 at 14:01

















up vote
0
down vote

favorite












I wonder how it's possible to set scrolling speed.



As is, when I scroll with my mouse in command or edit mode, it moves only one line at a time.



I prefer to move by example 3 line at a time. (speed up x3).



Any idea how to do this ? :h ScrollWheelUp confusing me.



I use a xterm like terminal.



vim 8.0.707 Debian9 X86_64



Edit:
I have to map 'button 4' to ScrollWheelUp and 'button 5' to ScrollWheelDown (seen values from xev)










share|improve this question
























  • are you using a gui or a terminal? In my gui version, Scrolling using the mouse already scrolls by 3 lines as documented at :h ScrollWheelUp.
    – Christian Brabandt
    Nov 15 at 12:58










  • an xterm like one, only one at a time
    – Mévatlavé Kraspek
    Nov 15 at 13:53












  • I have to map 'button 4' to ScrollWheelUp and 'button 5' to ScrollWheelDown (seen button values from xev)
    – Mévatlavé Kraspek
    Nov 15 at 14:01















up vote
0
down vote

favorite









up vote
0
down vote

favorite











I wonder how it's possible to set scrolling speed.



As is, when I scroll with my mouse in command or edit mode, it moves only one line at a time.



I prefer to move by example 3 line at a time. (speed up x3).



Any idea how to do this ? :h ScrollWheelUp confusing me.



I use a xterm like terminal.



vim 8.0.707 Debian9 X86_64



Edit:
I have to map 'button 4' to ScrollWheelUp and 'button 5' to ScrollWheelDown (seen values from xev)










share|improve this question















I wonder how it's possible to set scrolling speed.



As is, when I scroll with my mouse in command or edit mode, it moves only one line at a time.



I prefer to move by example 3 line at a time. (speed up x3).



Any idea how to do this ? :h ScrollWheelUp confusing me.



I use a xterm like terminal.



vim 8.0.707 Debian9 X86_64



Edit:
I have to map 'button 4' to ScrollWheelUp and 'button 5' to ScrollWheelDown (seen values from xev)







vim mouse vimrc xterm






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 15 at 14:02

























asked Nov 15 at 9:34









Mévatlavé Kraspek

1014




1014












  • are you using a gui or a terminal? In my gui version, Scrolling using the mouse already scrolls by 3 lines as documented at :h ScrollWheelUp.
    – Christian Brabandt
    Nov 15 at 12:58










  • an xterm like one, only one at a time
    – Mévatlavé Kraspek
    Nov 15 at 13:53












  • I have to map 'button 4' to ScrollWheelUp and 'button 5' to ScrollWheelDown (seen button values from xev)
    – Mévatlavé Kraspek
    Nov 15 at 14:01




















  • are you using a gui or a terminal? In my gui version, Scrolling using the mouse already scrolls by 3 lines as documented at :h ScrollWheelUp.
    – Christian Brabandt
    Nov 15 at 12:58










  • an xterm like one, only one at a time
    – Mévatlavé Kraspek
    Nov 15 at 13:53












  • I have to map 'button 4' to ScrollWheelUp and 'button 5' to ScrollWheelDown (seen button values from xev)
    – Mévatlavé Kraspek
    Nov 15 at 14:01


















are you using a gui or a terminal? In my gui version, Scrolling using the mouse already scrolls by 3 lines as documented at :h ScrollWheelUp.
– Christian Brabandt
Nov 15 at 12:58




are you using a gui or a terminal? In my gui version, Scrolling using the mouse already scrolls by 3 lines as documented at :h ScrollWheelUp.
– Christian Brabandt
Nov 15 at 12:58












an xterm like one, only one at a time
– Mévatlavé Kraspek
Nov 15 at 13:53






an xterm like one, only one at a time
– Mévatlavé Kraspek
Nov 15 at 13:53














I have to map 'button 4' to ScrollWheelUp and 'button 5' to ScrollWheelDown (seen button values from xev)
– Mévatlavé Kraspek
Nov 15 at 14:01






I have to map 'button 4' to ScrollWheelUp and 'button 5' to ScrollWheelDown (seen button values from xev)
– Mévatlavé Kraspek
Nov 15 at 14:01

















active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1375606%2fhow-to-set-scrolling-speed-of-vim-like-set-mouse-a-when-mouse-v%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1375606%2fhow-to-set-scrolling-speed-of-vim-like-set-mouse-a-when-mouse-v%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Probability when a professor distributes a quiz and homework assignment to a class of n students.

Aardman Animations

Are they similar matrix