ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

tmux

by huntie ST3 OS XLinux

Open tmux windows at the current file or project folder in Sublime Text

Labels tmux, terminal

Details

  • 2.2.0
  • github.​com
  • github.​com
  • 9 months ago
  • 38 minutes ago
  • 10 months ago

Installs

  • Total 101
  • Win 0
  • OS X 56
  • Linux 45
Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
OS X 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 1 0 0 1 2 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 2 0 0 0 0 0 1 0 0 0 1 0 1 1 1 0 1 0 1

Readme

Source
raw.​githubusercontent.​com

Sublime tmux

Commands to open tmux windows at the current file or root project folder in Sublime Text.

Installation

Soon to be available on Package Control. Until then, place this repository in your Packages/ directory.

Usage

For now, Sublime tmux requires a local tmux server to be running. In practice this means it will only run actions whilst you have an open tmux session in your terminal emulator.

Once installed, a number of tmux-related commands are available in the Command Palette, activated with ctrl+shift+p:

tmux commands in the Command Palette

If you wish to run these commands from your own keybinding, edit the config file under Preferences: Key Bindings, where they can be set along with any arguments.

Commands

open_tmux

Open a new tmux window at the directory of the current file.

open_tmux_project_folder

Open a new tmux window at the current root project directory.

Command arguments

These properties may be set as part of the args object for any command.

Property Type Default Description
split string null If set, a new pane in the current window will be opened. The direction of the split can be set to either "horizontal" or "vertical" (default).

Package settings

Default, user-level and OS-specific settings files can be accessed under Preferences > Package Settings > tmux.

Property Type Default Description
arrange_panes_on_split bool\ string false
set_project_window_name bool true Set whether new windows created with open_tmux_project_folder should be created with their name set to that of the directory opened. This is useful to identify multiple window tabs across projects.

Contributing

If you discover a problem or have a feature request, please create an issue or feel free to fork this repository and make improvements.