Ⅰ. 插件描述
vim plugin for tmux.confⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'tmux-plugins/vim-tmux-speak-now'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'tmux-plugins/vim-tmux-speak-now'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'tmux-plugins/vim-tmux-speak-now'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/tmux-plugins/vim-tmux
Ⅳ. 文档说明
# tmux.vim
Vim plugin for .tmux.conf.
Features
When you edit .tmux.conf you get:
- proper syntax highlighting
commentstring- so that plugins like
vim-commentary work as intendedK- jumps to the *exact* place inman tmuxwhere the word under cursor is
explained (a helluva time saver). This should work correctly on practically
anything in .tmux.conf.
- :make - invokes
tmux source.tmux.confand places all the errors (if any) in quicklist g!- executes lines as tmux commands. Works on visual selection or as ag!!executes just the current line.
Installation
- Vundle<br/>
Plugin 'tmux-plugins/vim-tmux' - vim-plug<br/>
Plug 'tmux-plugins/vim-tmux' - Pathogen<br/>
git clone git://github.com/tmux-plugins/vim-tmux.git ~/.vim/bundle/vim-tmux
Credits
- Tiago Cunha - created first syntax highlighting script for
.tmux.conf - Zaiste - wrapped syntax highlighting script in
vim plugin
License
All the contributions made after forking from
Zaiste are under MIT license.