7
|
1 " These macros swap the left and right mouse buttons (for left handed)
|
|
2 " Don't forget to do ":set mouse=a" or the mouse won't work at all
|
|
3 noremap <LeftMouse> <RightMouse>
|
|
4 noremap <2-LeftMouse> <2-RightMouse>
|
|
5 noremap <3-LeftMouse> <3-RightMouse>
|
|
6 noremap <4-LeftMouse> <4-RightMouse>
|
|
7 noremap <LeftDrag> <RightDrag>
|
|
8 noremap <LeftRelease> <RightRelease>
|
|
9 noremap <RightMouse> <LeftMouse>
|
|
10 noremap <2-RightMouse> <2-LeftMouse>
|
|
11 noremap <3-RightMouse> <3-LeftMouse>
|
|
12 noremap <4-RightMouse> <4-LeftMouse>
|
|
13 noremap <RightDrag> <LeftDrag>
|
|
14 noremap <RightRelease> <LeftRelease>
|
|
15 noremap g<LeftMouse> <C-RightMouse>
|
|
16 noremap g<RightMouse> <C-LeftMouse>
|
|
17 noremap! <LeftMouse> <RightMouse>
|
|
18 noremap! <LeftDrag> <RightDrag>
|
|
19 noremap! <LeftRelease> <RightRelease>
|
|
20 noremap! <RightMouse> <LeftMouse>
|
|
21 noremap! <RightDrag> <LeftDrag>
|
|
22 noremap! <RightRelease> <LeftRelease>
|