Skip to content

Instantly share code, notes, and snippets.

@mateusmedeiros
Last active August 14, 2018 10:26
Show Gist options
  • Save mateusmedeiros/e6c7301e9956de123da4 to your computer and use it in GitHub Desktop.
Save mateusmedeiros/e6c7301e9956de123da4 to your computer and use it in GitHub Desktop.
tmux.conf
set-option -g default-shell $SHELL
set -g base-index 1
set -s escape-time 0
set -g mouse on
set -g history-limit 100000
set -g default-terminal screen
set -g renumber-windows on
set -g update-environment 'DISPLAY SSH_ASKPASS SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY TERM'
if "[[ ${TERM} =~ 256color || ${TERM} == fbterm ]]" 'set -g default-terminal screen-256color'
unbind C-b
set -g prefix C-Space
bind = split-window -h -c "#{pane_current_path}"
bind - split-window -c "#{pane_current_path}"
bind BSpace new-window -c "#{pane_current_path}"
bind c new-window -c "#{pane_current_path}"
bind -n M-S-Up resize-pane -U 1
bind -n M-S-Down resize-pane -D 1
bind -n M-S-Right resize-pane -R 1
bind -n M-S-Left resize-pane -L 1
unbind-key a
bind-key a set-window-option synchronize-panes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment