How do I get the mouse wheel to work with vim for windows?

After using VIM on Mac OS X Marvericks which has mouse scrolling support installed by default and is now a Windows 8.1 user, I am trying to enable mouse wheel scrolling support on Vim 7.4 for Windows, which launches it from PowerShell, but failed working solution ...

Considering what I have found so far, I set in my c: \ Users \ .vimrc the line:

set mouse=a

      

So good so far that I read from some answer on the forum that I needed to set the following mappings:

map <Esc>Oa <C-Y>
map <Esc>Ob <C-E>
map <Esc>[1;2a <PageUp>
map <Esc>[1;2b <PageDown>
map! <Esc>Oa <C-X><C-Y>
map! <Esc>Ob <C-X><C-E>
map! <Esc>[1;2a <PageUp>
map! <Esc>[1;2b <PageDown>

      

I'm not an advanced VIM user, just using the basics for coding, so I would appreciate it if someone could guide me through a step by step solution.

+3
windows vim powershell mousewheel


source to share


No one has answered this question yet

Check out similar questions:

3487
How do I exit the Vim editor?
2453
How do I install pip on Windows?
1975
How do I know which process is listening on a port on Windows?
1741
How to replace a character with a newline in Vim
1330
How does vim's "write with sudo" trick work?
1214
How to do case insensitive search in Vim
1075
How do I go to the end of a line in Vim?
962
How to efficiently handle multiple files in Vim?
766
How to use vim registers?
583
What is vim recording and how can I turn it off?



All Articles
Loading...
X
Show
Funny
Dev
Pics