148

GitHub - tmux-plugins/vim-tmux: vim plugin for tmux.conf

 6 years ago
source link: https://github.com/tmux-plugins/vim-tmux
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

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.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK