Skip to content

Instantly share code, notes, and snippets.

@ivyleavedtoadflax
Last active October 5, 2020 18:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ivyleavedtoadflax/c286436b098e57eb82b97a8b155e7292 to your computer and use it in GitHub Desktop.
Save ivyleavedtoadflax/c286436b098e57eb82b97a8b155e7292 to your computer and use it in GitHub Desktop.
Remote .tmux.conf
# Set prefix to capslock
set -g prefix C-b
# Set defaults
set -s escape-time 1
set -g base-index 1
setw -g pane-base-index 1
# set key binds
bind r source-file ~/.tmux.conf
bind - split-window -v -c "#{pane_current_path}"
bind | split-window -h -c "#{pane_current_path}"
bind c new-window -c "#{pane_current_path}"
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind H resize-pane -L 5
bind J resize-pane -D 5
bind K resize-pane -U 5
bind L resize-pane -R 5
# Set 256 colors
set -g default-terminal "screen-256color"
# Disable mouse use
#setw -g mode-mouse off
#set -g mouse-select-pane off
#set -g mouse-resize-pane off
#set -g mouse-select-window off
set -g status-fg white
set -g status-bg black
set -g window-status-fg cyan
set -g window-status-bg default
set -g window-status-attr bright
set -g pane-border-fg green
set -g pane-border-bg black
set -g pane-active-border-fg white
set -g pane-active-border-bg yellow
set -g monitor-activity on
set -g visual-activity on
set-option -g default-shell /bin/zsh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment