Created
February 19, 2019 19:41
-
-
Save Santiago-j-s/fcdfab982057471516e61963da8f6d0a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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