Ⅰ. 插件描述
Like mswin, but can be toggled off and onⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/mrswin-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/mrswin-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/mrswin-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/mrswin.vim
Ⅳ. 文档说明
Sourcing <mrswin.vim> toggles between <mswin.vim> and normal Vim. You'll find <mswin.vim> distributed with Vim as
..vimvim63mswin.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).