Skip to content

MarcoPolo/lt-tmux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lt-tmux

A plugin for lighttable that allows arbitrary text to be sent to a tmux session

Usage

Simply highlight text and run the command Send selected text to tmux.

For maximum awesome, consider adding the following to your user keymap:

  :editor.shell {"pmeta-enter" [:lt.plugins.tmux/send-selected-text-to-tmux]}

Which will give you an eval ability inside shell files.

Why stop there?

You can essentially eval anything that has a REPL/interpreter on the command line: sql, matlab, etc...

Configuration

By default the target is ":" which is the last active tmux session (I think). If you need to change it just use the Change the current session id command.

Contributing

Please

About

Light Table plugin for sending text to a tmux session

Resources

Stars

Watchers

Forks

Packages

No packages published