vimtweak


Ⅰ. 插件描述

fork from https://www.vim.org/scripts/script.php?script_id=687 and add a function to toggle transparency

Ⅱ. 基本信息

创建日期:  2018-04-02
使用用户:  1
Github星:  2
插件作者:  Ma Shaoliang

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'conanforever22/vimtweak-would-can-one'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'conanforever22/vimtweak-would-can-one'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'conanforever22/vimtweak-would-can-one'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/conanforever22/vimtweak

Ⅳ. 文档说明

# Why creating this Repo

  • To add a feature to enable transparent background in gVim in Windows 10 like XShell using Alt + R

By what means

How to use

  1. copy vimtweak.dll to _gvim.exe_'s path
  2. copy vimtweak.vim to $VIM/vimfiles/plugin OR using Vundle to install it using my repo's url.
  3. add a shortcut like below to toggle it

    " toggle transparent background in gVIM
    noremap  <A-r> :call vimtweak#ToggleVimTweakSetParam()<cr>

NOTE

  • make sure vimtweak.dll is in the same folder with gvim.exe
  • put encoding and fileencodings before the key map setting, or Alt key can not be mapped.

添加新评论