annotate runtime/pack/dist/opt/swapmouse/plugin/swapmouse.vim @ 16413:4734d601ebdd v8.1.1211

patch 8.1.1211: not all user command code is tested commit https://github.com/vim/vim/commit/e61e548dd6a20471fd81160b1c2a16089505ec8c Author: Bram Moolenaar <Bram@vim.org> Date: Sat Apr 27 15:05:12 2019 +0200 patch 8.1.1211: not all user command code is tested Problem: Not all user command code is tested. Solution: Add more tests.
author Bram Moolenaar <Bram@vim.org>
date Sat, 27 Apr 2019 15:15:07 +0200
parents 08944b17c29c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8773
08944b17c29c commit https://github.com/vim/vim/commit/e101204906e10f1e100e2f9017985c61f26b03ac
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
1 " These macros swap the left and right mouse buttons (for left handed)
08944b17c29c commit https://github.com/vim/vim/commit/e101204906e10f1e100e2f9017985c61f26b03ac
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
2 " Don't forget to do ":set mouse=a" or the mouse won't work at all
08944b17c29c commit https://github.com/vim/vim/commit/e101204906e10f1e100e2f9017985c61f26b03ac
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
3 noremap <LeftMouse> <RightMouse>
08944b17c29c commit https://github.com/vim/vim/commit/e101204906e10f1e100e2f9017985c61f26b03ac
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
4 noremap <2-LeftMouse> <2-RightMouse>
08944b17c29c commit https://github.com/vim/vim/commit/e101204906e10f1e100e2f9017985c61f26b03ac
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
5 noremap <3-LeftMouse> <3-RightMouse>
08944b17c29c commit https://github.com/vim/vim/commit/e101204906e10f1e100e2f9017985c61f26b03ac
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
6 noremap <4-LeftMouse> <4-RightMouse>
08944b17c29c commit https://github.com/vim/vim/commit/e101204906e10f1e100e2f9017985c61f26b03ac
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
7 noremap <LeftDrag> <RightDrag>
08944b17c29c commit https://github.com/vim/vim/commit/e101204906e10f1e100e2f9017985c61f26b03ac
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
8 noremap <LeftRelease> <RightRelease>
08944b17c29c commit https://github.com/vim/vim/commit/e101204906e10f1e100e2f9017985c61f26b03ac
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
9 noremap <RightMouse> <LeftMouse>
08944b17c29c commit https://github.com/vim/vim/commit/e101204906e10f1e100e2f9017985c61f26b03ac
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
10 noremap <2-RightMouse> <2-LeftMouse>
08944b17c29c commit https://github.com/vim/vim/commit/e101204906e10f1e100e2f9017985c61f26b03ac
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
11 noremap <3-RightMouse> <3-LeftMouse>
08944b17c29c commit https://github.com/vim/vim/commit/e101204906e10f1e100e2f9017985c61f26b03ac
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
12 noremap <4-RightMouse> <4-LeftMouse>
08944b17c29c commit https://github.com/vim/vim/commit/e101204906e10f1e100e2f9017985c61f26b03ac
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
13 noremap <RightDrag> <LeftDrag>
08944b17c29c commit https://github.com/vim/vim/commit/e101204906e10f1e100e2f9017985c61f26b03ac
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
14 noremap <RightRelease> <LeftRelease>
08944b17c29c commit https://github.com/vim/vim/commit/e101204906e10f1e100e2f9017985c61f26b03ac
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
15 noremap g<LeftMouse> <C-RightMouse>
08944b17c29c commit https://github.com/vim/vim/commit/e101204906e10f1e100e2f9017985c61f26b03ac
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
16 noremap g<RightMouse> <C-LeftMouse>
08944b17c29c commit https://github.com/vim/vim/commit/e101204906e10f1e100e2f9017985c61f26b03ac
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
17 noremap! <LeftMouse> <RightMouse>
08944b17c29c commit https://github.com/vim/vim/commit/e101204906e10f1e100e2f9017985c61f26b03ac
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
18 noremap! <LeftDrag> <RightDrag>
08944b17c29c commit https://github.com/vim/vim/commit/e101204906e10f1e100e2f9017985c61f26b03ac
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
19 noremap! <LeftRelease> <RightRelease>
08944b17c29c commit https://github.com/vim/vim/commit/e101204906e10f1e100e2f9017985c61f26b03ac
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
20 noremap! <RightMouse> <LeftMouse>
08944b17c29c commit https://github.com/vim/vim/commit/e101204906e10f1e100e2f9017985c61f26b03ac
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
21 noremap! <RightDrag> <LeftDrag>
08944b17c29c commit https://github.com/vim/vim/commit/e101204906e10f1e100e2f9017985c61f26b03ac
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
22 noremap! <RightRelease> <LeftRelease>