Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

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

tree: 3636ae648d
README.md

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

Something went wrong with that request. Please try again.