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 480
  • Win 0
  • Mac 232
  • Linux 248
Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7
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 0
Mac 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 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
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 0 0 0 0 0 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.