File tree Expand file tree Collapse file tree
pack/dist/opt/swapmouse/plugin Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -531,6 +531,7 @@ RT_ALL = \
531531 runtime/pack/dist/opt/matchit/plugin/matchit.vim \
532532 runtime/pack/dist/opt/matchit/doc/matchit.txt \
533533 runtime/pack/dist/opt/matchit/doc/tags \
534+ runtime/pack/dist/opt/swapmouse/plugin/swapmouse.vim \
534535
535536# runtime files for all distributions without CR-NL translation
536537RT_ALL_BIN = \
Original file line number Diff line number Diff line change @@ -15,9 +15,6 @@ less.sh + less.vim make Vim work like less (or more)
1515
1616shellmenu.vim menus for editing shell scripts in the GUI version
1717
18- swapmous.vim swap left and right mouse buttons
19-
20- editexisting.vim
2118
2219This one is only for Unix.
2320file_select.vim macros that make a handy file selector
@@ -34,3 +31,5 @@ packadd! editexisting when editing a file that is already edited with
3431packadd! justify justifying text.
3532
3633packadd! matchit makes the % command work better
34+
35+ packadd! swapmouse swap left and right mouse buttons
Original file line number Diff line number Diff line change 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>
1+ " Load the swapmouse package.
2+ " For those users who were loading the swapmous plugin from here.
3+ packadd swapmouse
Original file line number Diff line number Diff line change 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>
Original file line number Diff line number Diff line change @@ -748,6 +748,8 @@ static char *(features[]) =
748748
749749static int included_patches [] =
750750{ /* Add new patch number below this line */
751+ /**/
752+ 1675 ,
751753/**/
752754 1674 ,
753755/**/
You can’t perform that action at this time.
0 commit comments