sponsor Vim development Vim logo Vim Book Ad

mrswin.vim : Like mswin, but can be toggled off and on

 script karma  Rating 52/18, Downloaded by 4753  Comments, bugs, improvements  Vim wiki

created by
Charles Campbell
 
script type
utility
 
description
Sourcing <mrswin.vim> toggles between <mswin.vim> and normal Vim.  You'll find <mswin.vim> distributed with Vim as

   ..\vim\vim63\mswin.vim

(the leading path may vary).  This file needs to be executed instead of the default <mswin.vim>; every time it is sourced, it toggles between <mswin.vim> and Normal vim mappings and settings.  

It is important that you substitute using <mrswin.vim> for <mswin.vim>; <mrswin.vim> saves the settings and mappings extant prior to doing the <mswin.vim> settings and mappings.  Consequently, if you have <mswin.vim> sourced first, then its settings and mappings are what will be restored (ie., you won't be able to toggle because both sets of settings and mappings will be the same).
 
install details
Change the name of
   ..\vim\vim63\mswin.vim
to
   ..\vim\vim63\old_mswin.vim.

Put <mrswin.vim> wherever and have

   so ...wherever/mrswin.vim

in your <_vimrc> file.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
mrswin.vim.bz2 4 2004-07-27 6.0 Charles Campbell bugfix: inadvertently left debugging enabled -- now fixed!
mrswin.vim.bz2 3 2004-07-16 6.0 Charles Campbell MrsWin now checks for a running gui vs simply having gui capability in deciding to map meta-<space> like mswin.vim does.
MrsWin updated to be based upon v6.3's mswin
Folding and debugging commands were added
mrswin.vim 1 2002-12-17 6.0 Charles Campbell Initial upload
ip used for rating: 3.94.77.30

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github