view runtime/pack/dist/opt/swapmouse/plugin/swapmouse.vim @ 19251:158d4eeba201 v8.2.0184

patch 8.2.0184: blob test fails Commit: https://github.com/vim/vim/commit/92be6e3f46120bb8e6c8fca0a7868a08df8b3345 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 30 19:39:04 2020 +0100 patch 8.2.0184: blob test fails Problem: Blob test fails. Solution: Check for different error when float feature is missing.
author Bram Moolenaar <Bram@vim.org>
date Thu, 30 Jan 2020 19:45:03 +0100
parents 08944b17c29c
children
line wrap: on
line source

" These macros swap the left and right mouse buttons (for left handed)
" Don't forget to do ":set mouse=a" or the mouse won't work at all
noremap	 <LeftMouse>	<RightMouse>
noremap	 <2-LeftMouse>	<2-RightMouse>
noremap	 <3-LeftMouse>	<3-RightMouse>
noremap	 <4-LeftMouse>	<4-RightMouse>
noremap	 <LeftDrag>	<RightDrag>
noremap	 <LeftRelease>	<RightRelease>
noremap	 <RightMouse>	<LeftMouse>
noremap	 <2-RightMouse>	<2-LeftMouse>
noremap	 <3-RightMouse>	<3-LeftMouse>
noremap	 <4-RightMouse>	<4-LeftMouse>
noremap	 <RightDrag>	<LeftDrag>
noremap	 <RightRelease>	<LeftRelease>
noremap	 g<LeftMouse>	<C-RightMouse>
noremap	 g<RightMouse>	<C-LeftMouse>
noremap! <LeftMouse>	<RightMouse>
noremap! <LeftDrag>	<RightDrag>
noremap! <LeftRelease>	<RightRelease>
noremap! <RightMouse>	<LeftMouse>
noremap! <RightDrag>	<LeftDrag>
noremap! <RightRelease>	<LeftRelease>