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

tmux

by huntie ST3 MacLinux

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

Labels tmux, terminal

Details

Installs

  • Total 483
  • Win 0
  • Mac 233
  • Linux 250
Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16
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
Mac 0 0 0 0 0 0 1 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
Linux 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Sublime tmux

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

Installation

Available as tmux on Package Control – install using the Package Control: Install Package command from the Command Palette. Alternatively, 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.