vim-tmux


Ⅰ. 插件描述

vim plugin for tmux.conf

Ⅱ. 基本信息

创建日期:  2012-04-30
使用用户:  426
Github星:  247
插件作者:  tmux-plugins

Ⅲ. 安装方法

使用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 intended
  • K - jumps to the *exact* place in man tmux where 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.conf and places all the errors (if any) in quicklist
  • g! - executes lines as tmux commands. Works on visual selection or as a

    1. g!! 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.

添加新评论