Skip to content

Instantly share code, notes, and snippets.

@OsamaMahmood
Last active June 4, 2020 05:26
Show Gist options
  • Save OsamaMahmood/c7f4a047784553a76f369e67a2370b7d to your computer and use it in GitHub Desktop.
Save OsamaMahmood/c7f4a047784553a76f369e67a2370b7d to your computer and use it in GitHub Desktop.
basic confuration for tmux
# Remap prefix to screen
set -g prefix C-a
bind C-a send-prefix
unbind C-b
#Quality of life stuff
set -g history-limit 10000
set -g allow-rename off
# Join Windows
bind-key j command-prompt -p "join pane from:* " "join-pane -s '%%'"
bind-key s command-prompt -p "send pane to:* " "join-pane -t '%%'"
# Search Mode VI
set-window-option -g mode-keys vi
# Mouse Scroll on terminal output
set -g mouse on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment