Skip to content

Instantly share code, notes, and snippets.

@msm-code
Last active November 23, 2022 23:30
Show Gist options
  • Save msm-code/2f69f3b5bcf8d29e57e17cd7ba4758a8 to your computer and use it in GitHub Desktop.
Save msm-code/2f69f3b5bcf8d29e57e17cd7ba4758a8 to your computer and use it in GitHub Desktop.
Cli adventures

cli adventures

My random notes about CLI tools that I use, have used, want to use, wish I have used before, or never want to use again.

tmux

Awesome terminal mutliplexer.

https://gist.github.com/mloskot/4285396

Probably most bindings are well known, but there are lesser known ones that I like:

  • [prefix] z - zoom pane (temporarily make it fullscreen)
  • [prefix] ! - break pane into a new window

matterhorn

Command-line (TUI actually) mattermost client. More fun and interactive than one would expect. Written in Haskell.

Installation: nix-shell -p matterhorn (note: version with my patches not yet in stable I think)

List of keybindings: https://github.com/matterhorn-chat/matterhorn/blob/master/docs/keybindings.md

For basic usage the most important ones are:

  • M-a - see the next unread channel (gold!)
  • M-s - toggle this and previous channel
  • C-g - go to a channel (prompts for a name)
  • C-s - enter "select mode"
  • a - (in select mode) - add a reaction
  • r - (in select mode) - reply
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment