Last active
June 14, 2018 15:37
-
-
Save swieder227/e56236aa7a1991273dc9683586a9388a 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
# ------------------------------------------------------------------ | |
# Session options | |
# ------------------------------------------------------------------- | |
# Change bind key to ctrl-a | |
unbind-key c-b | |
set-option -g prefix c-a | |
# Index starts from 1 | |
set-option -g base-index 1 | |
set-option -g pane-base-index 1 | |
# ------------------------------------------------------------------- | |
# Key bindings | |
# ------------------------------------------------------------------- | |
# Make windows open in same working directory | |
bind '"' split-window -c "#{pane_current_path}" | |
bind % split-window -h -c "#{pane_current_path}" | |
bind c new-window -c "#{pane_current_path}" | |
# Scrolling | |
set -g mouse on | |
# ------------------------------------------------------------------- | |
# Decoration (256-color) | |
# ------------------------------------------------------------------- | |
set-option -g status-justify left | |
set-option -g status-left '#[bg=colour72]#[fg=colour237] #S ' | |
set-option -g status-bg colour237 | |
set-option -g status-right '#[bg=colour236]#[bg=colour235]#[fg=colour185] #(hostname) ' | |
set-option -g status-left-length 20 | |
set-option -g pane-active-border-fg colour245 | |
set-option -g pane-border-fg colour243 | |
set-window-option -g window-status-format '#[bg=colour238]#[fg=colour107] #I #[bg=colour239]#[fg=colour110] #[bg=colour240]#W#[bg=colour239]#[fg=colour195]#F#[bg=colour238] ' | |
set-window-option -g window-status-current-format '#[bg=colour236]#[fg=colour215] #I #[bg=colour235]#[fg=colour167] #[bg=colour234]#W#[bg=colour235]#[fg=colour195]#F#[bg=colour236] ' | |
# set-window-option -g window-style 'bg=colour238' | |
# set-window-option -g window-active-style 'bg=colour237' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment