Ⅰ. 插件描述
Add bracketed paste mode support to vim 8 inside tmuxⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'chrisjohnson/vim8-bracketed-paste-mode-tmux'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'chrisjohnson/vim8-bracketed-paste-mode-tmux'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'chrisjohnson/vim8-bracketed-paste-mode-tmux'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/chrisjohnson/vim8-bracketed-paste-mode-tmux
Ⅳ. 文档说明
# Vim 8 Bracketed Paste Mode in Tmux
In vim 8, bracketed paste mode is supported natively. However, in tmux (2.5), it doesn't seem to work.
This piece of config has been floating around my .vimrc and it seems to make bracketed paste mode work both in and out of tmux.
I offer no support here, I didn't even originally write the code and I'm not familiar enough to know what makes it work. If this doesn't work for you and you can fix it, please submit a PR.
If you don't use tmux, then you don't need this plugin, all you need is vim 8.
Install
Just load the plugin using your normal plugin means