Created
November 18, 2019 06:15
-
-
Save tk3369/071cfd20b025666518e78fc945ffe4ef to your computer and use it in GitHub Desktop.
tmux config
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
# start window number from 1 | |
set -g base-index 1 | |
# rebind prefix hot-key from C-b to C-j | |
set -g prefix C-j | |
unbind-key C-b | |
bind-key C-j send-prefix | |
# use vi binding | |
setw -g mode-keys vi | |
# Visual Activity Monitoring between windows | |
setw -g monitor-activity on | |
set -g visual-activity on | |
# split window | |
bind-key v split-window -h | |
bind-key s split-window -v | |
# Vim style pane selection | |
bind h select-pane -L | |
bind j select-pane -D | |
bind k select-pane -U | |
bind l select-pane -R | |
# reload tmux config | |
bind r source-file ~/.tmux.conf | |
# theme | |
set -g status-bg black | |
set -g status-fg white | |
set -g window-status-current-bg white | |
set -g window-status-current-fg black | |
set -g window-status-current-attr bold | |
set -g status-interval 60 | |
set -g status-left-length 30 | |
set -g status-left '#[fg=green](#S) #(whoami)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment