Created
January 14, 2014 22:19
-
-
Save burningTyger/8427032 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
#set-option -g default-terminal "screen-256color" | |
#set -g default-terminal "screen-256color" | |
set -g mode-mouse on | |
set-window-option -g mode-mouse on | |
# remap prefix to Control + a | |
set -g prefix C-a | |
unbind C-b | |
bind C-a send-prefix | |
#set-option -g status on | |
#set-option -g status-interval 2 | |
#set-option -g status-utf8 on | |
#set-option -g status-justify "left" | |
#set-option -g status-left-length 60 | |
#set-option -g status-right-length 90 | |
#set-option -g status-left "#(~/.tmux-powerline/powerline.sh left)" | |
#set-option -g status-right "#(~/.tmux-powerline/powerline.sh right)" | |
# force a reload of the config file | |
unbind r | |
bind r source-file ~/.tmux.conf | |
# quick pane cycling | |
#unbind A | |
#bind -r C-a select-pane -t :.+ | |
# pane resizing | |
bind z swap-pane -D | |
bind u swap-pane -U | |
# Set status bar | |
#old settings | |
set -g status-bg colour8 | |
set -g status-fg colour15 | |
##set -g status-left '#[fg=green]#H' | |
# Highlight active window | |
set-window-option -g window-status-current-bg red | |
#set-option -g prefix C-q | |
bind | split-window -h | |
bind - split-window -v | |
# Sane scrolling | |
#set -g terminal-overrides 'xterm*:smcup@:rmcup@' | |
# Pane movement | |
bind h select-pane -L | |
bind j select-pane -D | |
bind k select-pane -U | |
bind l select-pane -R | |
# Pane resizing | |
bind -r C-h resize-pane -L 5 | |
bind -r C-j resize-pane -D 5 | |
bind -r C-k resize-pane -U 5 | |
bind -r C-l resize-pane -R 5 | |
unbind ^up | |
unbind ^down | |
source ~/.local/lib/python2.7/site-packages/powerline/bindings/tmux/powerline.conf | |
#set-option -g default-terminal "screen-256color" | |
#pbcopy in tmux | |
#set-option -g default-command "reattach-to-user-namespace -l bash" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment