Giter Site home page Giter Site logo

tmuxy's Introduction

Tmuxy - VS Code Tmux Integration

Tmuxy is a VS Code extension that aims to seamlessly integrates with tmux, allowing you to execute snippets from your editor directly into your Tmux sessions. With Tmuxy, you can effortlessly run snippets in specific Tmux panes, making your development workflow even more efficient.

Note: This extension understably require tmux to be installed on your system and set to path.

Features

Run Commands in Tmux:

  • Execute commands from VS Code directly into your Tmux sessions. Choose the Tmux session, window, and pane interactively.

Flexible Execution

  • Run commands on selected text lines or the current cursor line in the editor.

Commands

  • tmuxy.RunCommand:

    • Prompts the user to select a Tmux session, window, or pane.
    • If only one option is available for window and pane, Tmuxy will automatically select them.
  • tmuxy.RunCommandSaved:

    • Runs the selected code using the Tmux session, window, and pane from the last run, provided they are still available and unchanged.

Usage

RunCommand (Ctrl + K, Ctrl + C):

  1. Select text lines or position the cursor on a line.
  2. Execute the command (Ctrl + K, Ctrl + C).
  3. Tmuxy will prompt you to choose a Tmux session, window, and pane.
  4. The selected or current line will be executed in the chosen Tmux pane.

RunCommandSaved (Ctrl + K, Ctrl + X):

  1. Select text lines or position the cursor on a line, then execute the command.
  2. Execute the command (Ctrl + K, Ctrl + S).
  3. If, you have used RunCommand prior and the target pane is stil available then it will use last.
  4. The selected or current line will be executed in the chosen Tmux pane.

tmuxy's People

Contributors

jcsawyer123 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.