Skip to content

Instantly share code, notes, and snippets.

@alyandon
Created October 9, 2024 17:58
Show Gist options
  • Save alyandon/b19e2634fac6505bb5bd0e0c99d856b0 to your computer and use it in GitHub Desktop.
Save alyandon/b19e2634fac6505bb5bd0e0c99d856b0 to your computer and use it in GitHub Desktop.
tmux-is-the-gnu-screen
# gnu screen muscle memory
set -g prefix C-A
bind-key C-C new-window
bind-key C-A last-window
bind-key C-Space next-window
bind-key C-P previous-window
bind-key C-N next-window
bind-key C-D detach
bind-key -n Home send Escape "OH"
bind-key -n End send Escape "OF"
bind-key C-[ copy-mode
# show all panes in window title
set-option -g set-titles on
set-option -g set-titles-string "(#H) %a %b %d %H:%M | #{W:#{window_index} #{window_name} ,#{window_index} #{window_name}* }"
# yes
setw -g mode-keys vi
set -g default-terminal tmux-256color
set -g status off
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment