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
)
vim mouse vimrc xterm
add a comment |
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
)
vim mouse vimrc xterm
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
add a comment |
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
)
vim mouse vimrc xterm
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
vim mouse vimrc xterm
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
add a comment |
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
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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