Saturday, April 11, 2020

Show HN: Terminal Multiplexer Inspired by I3

3mux is a terminal multiplexer with out-of-the-box support for search, mouse-controlled scrollback, and i3-like keybindings. Imagine tmux with a smaller learning curve and more sane defaults.

Features

  • i3-like keybindings
  • search
  • scrollback
  • mouse support
    • drag to resize windows
    • click to select window
    • scrollwheel

Key Bindings

Key(s) Description
Alt+Enter
Alt+N
Create a new window
Alt+F Make the selected window fullscreen. Useful for copying text
Alt+←/↓/↑/→
Alt+h/j/k/l
Select an adjacent window
Alt+Shift+←/↓/↑/→
Alt+Shift+h/j/k/l
Move the selected window
Alt+R Enter resize mode. Resize selected window with arrow keys or h/j/k/l. Exit using any other key(s)
Alt+/ Enter search mode. Type query, navigate between results with arrow keys or n/N
Scroll Move through scrollback

Supported tmux Bindings

Key(s) Description
Ctrl+b " Split horizontally
Ctrl+b % Split vertically
Ctrl+b { Move window left
Ctrl+b } Move window right

Installation Instructions

  1. Install Golang
  2. go get github.com/aaronjanse/3mux
  3. Run 3mux to launch the terminal multiplexer

Terminal.app

Warning: Arrow-key-controlled window management is currently unsupported on Terminal.app. Please use the default vim-like keybindings instead.
Preferences > Profiles > Keyboard > Use Option as Meta Key

iTerm2

Preferences > Profiles > Keys > Option Key > Esc+



from Hacker News https://github.com/aaronjanse/3mux

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.