Last active
April 23, 2018 18:27
-
-
Save igor822/fbaf37afda708e471b45a8716dfe4ecc to your computer and use it in GitHub Desktop.
Tmux
This file contains hidden or 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
source /usr/share/tmux/powerline.conf | |
set-option -g default-terminal "screen-256color" | |
set-window-option -g automatic-rename off | |
set-option -g allow-rename off | |
# main command | |
unbind C-b | |
set-option -g prefix C-a | |
bind-key C-a send-prefix | |
# Split windows | |
bind | split-window -h | |
bind - split-window -v | |
unbind '"' | |
unbind '%' | |
# switch panes | |
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 | |
bind -n M-h select-pane -L | |
bind -n M-l select-pane -R | |
bind -n M-k select-pane -U | |
bind -n M-j select-pane -D | |
# Pane colours | |
set -g window-style 'fg=colour247,bg=colour236' | |
set -g window-active-style 'fg=colour250,bg=black' | |
# pane border | |
set -g pane-border-bg colour235 | |
set -g pane-border-fg colour238 | |
set -g pane-active-border-bg colour236 | |
set -g pane-active-border-fg colour51 | |
# command to reload source | |
bind r source-file ~/.tmux.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment