Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
52 lines (34 sloc) 1.2 KB
# ~~~~~~~~~~~~~~~~~~~~~~~~~~ Start Tmux configuration ~~~~~~~~~~~~~~~~~~~~~~~~~
# set shell to zsh
set-option -g default-shell /bin/zsh
# no delay for escape key press
set -sg escape-time 0
# remap prefix to ^Ctrl + a
set -g prefix C-a
unbind C-b
bind C-a send-prefix
# ~~~~~~~~~~~~~~~~~~~~~~~ Start Tmux remap configuration ~~~~~~~~~~~~~~~~~~~~~~
# Vim style pane split (:split and :vsplit)
bind-key s split-window -v # horizontal
bind-key v split-window -h # vertical
# Vim style pane selection
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
bind-key h select-pane -L
# Vim style pane resize
bind-key J resize-pane -D 10
bind-key K resize-pane -U 10
bind-key L resize-pane -R 10
bind-key H resize-pane -L 10
# ~~~~~~~~~~~~~~~~~~~~~~~~ Start Powerline configuration ~~~~~~~~~~~~~~~~~~~~~~
# run powerline-daemon
run-shell "powerline-daemon -q"
# absolute path to the Powerline installation directory
source "$HOME/.local/lib/python2.7/site-packages/powerline/bindings/tmux/powerline.conf"
# ~~~~~~~~~~~~~~~~~~~~~~~~ Start Vitality configuration ~~~~~~~~~~~~~~~~~~~~~~
# enable focus events
set -g focus-events on
# reload tmux config
unbind r
bind r source-file ~/.tmux.conf
You can’t perform that action at this time.