Last active
July 27, 2019 01:42
-
-
Save kjkuan/6207ac87469145b4990d 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
set -g prefix C-s; unbind C-b | |
bind s send-prefix | |
bind C-s last-window | |
set-option -g allow-rename off | |
set -g default-terminal "screen-256color" | |
set -g terminal-overrides 'xterm*:smcup@:rmcup@' | |
set -sg escape-time 0 | |
set -g base-index 1 | |
set -g window-status-current-bg yellow | |
bind-key k select-pane -U; unbind Up | |
bind-key j select-pane -D; unbind Down | |
bind-key l select-pane -L; unbind Left | |
bind-key h select-pane -R; unbind Right | |
bind-key C-k resize-pane -U 5; unbind C-Up | |
bind-key C-j resize-pane -D 5; unbind C-Down | |
bind-key C-h resize-pane -L 5; unbind C-Left | |
bind-key C-l resize-pane -R 5; unbind C-Right | |
bind-key A command-prompt -I "" "rename-window '%%'"; unbind , | |
setw -g mode-keys vi | |
#bind-key -t vi-copy 'v' begin-selection | |
#bind-key -t vi-copy 'y' copy-selection |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment