Skip to content

Instantly share code, notes, and snippets.

@Santiago-j-s
Created February 19, 2019 19:41
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 Santiago-j-s/fcdfab982057471516e61963da8f6d0a to your computer and use it in GitHub Desktop.
Save Santiago-j-s/fcdfab982057471516e61963da8f6d0a to your computer and use it in GitHub Desktop.
# zsh
set-option -g default-shell /bin/zsh
# color
set -g default-terminal "tmux-256color"
# counting from 1
set -g base-index 1
# remap prefix
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# split panes
bind | split-window -h
bind - split-window -v
unbind '"'
unbind %
# reload config
bind r source-file ~/.tmux.conf
# switch panes without prefix
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
# mouse control
set -g mouse on
# don't rename windows automatically
set-option -g allow-rename off
# escape fast (especially for vim)
set -sg escape-time 0
# powerline
run-shell "powerline-daemon -q"
source "/home/santiago/.local/lib/python3.5/site-packages/powerline/bindings/tmux/powerline.conf"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment