Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 1.18 KB

README.md

File metadata and controls

40 lines (28 loc) · 1.18 KB

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 motion. g!! executes just the current line.

Installation

  • Vundle
    Plugin 'tmux-plugins/vim-tmux'

  • vim-plug
    Plug 'tmux-plugins/vim-tmux'

  • Pathogen
    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.