Skip to content

iovis/tux.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Tux.vim

Launch commands in Tmux from Vim

Tux

Installation

Use your preferred installation method for Vim plugins.

Plug 'iovis/tux.vim'
use("iovis/tux.vim")

Usage

Launch :Tux to run a command in your last pane or create a new one. Use ! for running it in a new window.

:Tux[!] {cmd}

The command :TuxRaw won't escape semicolons.

Examples

Launch rspec on the current file

:Tux rspec %

Launch htop in a new window

:Tux! htop

Run last command of last pane

:Tux Up

Execute current line in last pane

:execute 'Tux ' . getline('.')

Run rspec for current file and line

:execute 'Tux ' . expand('%') . line('.')

About

Launch commands in Tmux from Vim

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published