tmux-config


Ⅰ. 插件描述

Configuration and tools for tmux. Can be used as a Vim plugin.

Ⅱ. 基本信息

创建日期:  2012-07-18
使用用户:  30
Github星:  118
插件作者:  Pivotal Labs

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'pivotal/tmux-config'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

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

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'pivotal/tmux-config'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'pivotal/tmux-config'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/pivotal/tmux-config

Ⅳ. 文档说明

# OVERVIEW

This plugin contains configuration and tools to use tmux with VIM.
It contains:

  • tmux.conf -- Good default tmux config
  • Vim cursors -- Cursor type distinguishes between Vim modes.
  • Vim autosave -- Automatically save all Vim buffers before any terminal command is executed.

Installation as a Vim Plugin:

If using Pathogen:

git submodule add git://github.com/pivotal/tmux-config.git bundle/tmux-config
git submodule update --init

tmux.conf Installation

If you have installed this repo as a Vim plugin:

ln -s ~/.vim/bundle/tmux-config/tmux.conf ~/.tmux.conf

Otherwise symlink, copy the file, or copy its contents to ~/.tmux.conf

Autosave:

This adds Vim auto-saving support when running within tmux.
When any command is run on the command line, be it ls or
even just hitting ENTER, all Vim sessions running within
this tmux session will be written.

Autosave Installation

To enable VIM autosaving, add the following to your .bash_profile, .bashrc, or .profile:

source ~/.vim/bundle/tmux-config/tmux-autowrite/autowrite-vim.sh

ACKNOWLEDGEMENTS

Thanks go out to the Casecommons team for developing this
autosave solution. Please see the original files at
https://github.com/Casecommons/vim-config
and
https://github.com/Casecommons/casecommons_workstation

添加新评论