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

Tmux Syntax Highlight

by Edditoria ST3

Tmux 3 syntax highlighting for Sublime Text and Bat CLI. MIT licensed for sharing.

Details

Installs

  • Total 2K
  • Win 337
  • Mac 1K
  • Linux 692
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 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25
Windows 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 2 0 0 0 0 0
Mac 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 1 0 0 0 0 0 0 1 0 0 1
Linux 0 0 0 0 0 1 1 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Tmux 3 Syntax for Sublime Text and bat

This project provides syntax definition for scripting Tmux configuration.

What

These are what this project does:

  • Syntax highlighting for :file_folder:tmux.conf.
  • Compatible with Sublime Text 3 and 4.
  • Works with bat command-line tool.
  • Supports syntax of Tmux 3.
  • Written in .sublime-syntax rather than .tmLanguage.
  • MIT licensed-free to use, modify and share.

How

Install for Sublime Text

screeshot showing Tmux config for Sublime Text

Clone this repository into your :file_folder:Package/ folder:

git clone https://github.com/Edditoria/tmux-sublime.git

[!TIP] To find the path of :file_folder:Package/, click “Preferences” → “Browse Packages” on menu bar of Sublime Text.

Restart Sublime Text if necessary.

Install for bat CLI

screeshot showing Tmux config for bat CLI

Clone this repository into your :file_folder:bat/syntaxes/ directory:

mkdir -p "$(bat --config-dir)/syntaxes"
cd "$(bat --config-dir)/syntaxes"
git clone https://github.com/Edditoria/tmux-sublime.git

# Parse into a binary cache
bat cache --build

Why

I want to include my :file_folder:bat.conf in my dotfiles without licensing concerns. So, I can bat tmux.conf # with wings across my machines. Unfortunately I couldn't find any good and safe project on GitHub.

Fine. I do it myself.

Status

  • I create it to “show something” on screen using bat. The code is definitely over-simplified currently.
  • I would maintain usability in Sublime Text. I don't know how far I can go. It depends on user demand: You!
  • Please star this project to notify me to support more.
  • Open issues for requests and improvements.

Thank you, open source!