Skip to content

Instantly share code, notes, and snippets.

@scheckley
Created June 17, 2021 08:52
Show Gist options
  • Save scheckley/818a01f018b123260c918f2061e74e9a to your computer and use it in GitHub Desktop.
Save scheckley/818a01f018b123260c918f2061e74e9a to your computer and use it in GitHub Desktop.
WSL tmux config. This config uses ctrl+a instead of ctrl+b as this wasn't working with putty. Also remaps split horizontal to dash and split verical to bar
set -g mouse on
set -g history-limit 30000
setw -g alternate-screen on
set -s escape-time 50
set -g prefix ^a
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
unbind %
bind | split-window -h
bind - split-window -v
bind N break-pane
# Set status bar
set -g status-bg black
set -g status-fg white
# Set window notifications
setw -g monitor-activity on
set -g visual-activity on
# Automatically set window title
setw -g automatic-rename
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment