Patch 7.4.1675
Problem:    The swapmous plugin has to be copied or sourced to be used.
Solution:   Turn it into the swapmouse package.
Files:      runtime/macros/swapmous.vim, runtime/macros/README.txt,
            runtime/pack/dist/opt/swapmouse/plugin/swapmouse.vim, Filelist


*** ../vim-7.4.1674/runtime/macros/swapmous.vim 2010-05-15 13:04:01.000000000 
+0200
--- runtime/macros/swapmous.vim 2016-03-28 21:07:47.946085987 +0200
***************
*** 1,22 ****
! " 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>
--- 1,3 ----
! " Load the swapmouse package.
! " For those users who were loading the swapmous plugin from here.
! packadd swapmouse
*** ../vim-7.4.1674/runtime/macros/README.txt   2016-03-28 21:04:20.380181941 
+0200
--- runtime/macros/README.txt   2016-03-28 21:08:33.221628713 +0200
***************
*** 15,23 ****
  
  shellmenu.vim         menus for editing shell scripts in the GUI version
  
- swapmous.vim          swap left and right mouse buttons
- 
- editexisting.vim      
  
  This one is only for Unix.
  file_select.vim               macros that make a handy file selector
--- 15,20 ----
***************
*** 34,36 ****
--- 31,35 ----
  packadd! justify      justifying text.
  
  packadd! matchit      makes the % command work better
+ 
+ packadd! swapmouse    swap left and right mouse buttons
*** ../vim-7.4.1674/runtime/pack/dist/opt/swapmouse/plugin/swapmouse.vim        
1970-01-01 01:00:00.000000000 +0100
--- runtime/pack/dist/opt/swapmouse/plugin/swapmouse.vim        2016-03-28 
21:07:26.666300897 +0200
***************
*** 0 ****
--- 1,22 ----
+ " 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>
*** ../vim-7.4.1674/Filelist    2016-03-28 21:04:20.380181941 +0200
--- Filelist    2016-03-28 21:08:49.509464202 +0200
***************
*** 531,536 ****
--- 531,537 ----
                runtime/pack/dist/opt/matchit/plugin/matchit.vim \
                runtime/pack/dist/opt/matchit/doc/matchit.txt \
                runtime/pack/dist/opt/matchit/doc/tags \
+               runtime/pack/dist/opt/swapmouse/plugin/swapmouse.vim \
  
  # runtime files for all distributions without CR-NL translation
  RT_ALL_BIN =  \
*** ../vim-7.4.1674/src/version.c       2016-03-28 21:04:20.380181941 +0200
--- src/version.c       2016-03-28 21:09:51.276840296 +0200
***************
*** 750,751 ****
--- 750,753 ----
  {   /* Add new patch number below this line */
+ /**/
+     1675,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
155. You forget to eat because you're too busy surfing the net.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui