Skip to content

WezTerm => multi-platform TMUX #95

Open
@aaronnickovich

Description

@aaronnickovich

I want to suggest alternative to tmux for this setup --> WezTerm is a shell emulator written in rust, configured with lua: https://wezfurlong.org/wezterm/

I used tmux at work but I wanted a solution for multiplexing in Windows at home. I discovered a way to automate my setup of my different terminal-based workflows! Whats nice is it also has a CLI interface like tmux, so I think it's possible to use neovim to trigger a session swap. Otherwise, WezTerm itself can handle session swaps in it's own lua scripts.

As an example, I use WezTerm's lua scripts to define and swap amongst these workspaces:

  • Hobby gamedev
    • opens or creates 'cmd.exe /k C:/Program Files (x86)/2019/Community/VC/Auxiliary/Build/vcvars64.bat /k '
  • Website
    • opens powershell.exe on my website project folder, then executes "nvim ."
  • Home automation
    • opens a remote ssh to my raspberry pi

There is also a command launcher where I can create a list of common CLI commands. Then, use keybindings to execute their number or a keybinding to show a menu listings the options like this:
Screenshot 2023-10-01 001440

Also, WezTerm maintainer is a very nice dude!

Anyways, let me know if this is something you'd like!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions