Mercurial > vim
annotate runtime/pack/dist/opt/swapmouse/plugin/swapmouse.vim @ 17602:653ab352b019 v8.1.1798
patch 8.1.1798: warning for unused variable in tiny version
commit https://github.com/vim/vim/commit/eda35f7127c6ac51573eda808687f6369c31ee2d
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Aug 3 14:59:44 2019 +0200
patch 8.1.1798: warning for unused variable in tiny version
Problem: Warning for unused variable in tiny version. (Tony Mechelynck)
Solution: Move inside #ifdef. Reformat code.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 03 Aug 2019 15:00:05 +0200 |
parents | 08944b17c29c |
children |
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> |