Last active
November 12, 2018 16:42
-
-
Save puhitaku/79ca332b233b53e1cb70 to your computer and use it in GitHub Desktop.
My .tmux.conf
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
unbind C-b | |
set -g prefix C-a | |
# If the escape delay persists, try setting `set keyseq-timeout 1` in .inputrc . | |
set -g escape-time 0 | |
# Split | |
bind | split-window -h | |
bind - split-window -v | |
# Clipboard for Ubuntu | |
setw -g mode-keys vi | |
bind-key v copy-mode | |
bind-key -T copy-mode-vi v send -X begin-selection | |
bind-key -T copy-mode-vi y send -X copy-pipe-and-cancel "xsel -ip && xsel -op | xsel -ib" | |
setw -g monitor-activity on | |
set -g visual-activity on | |
set -g history-limit 10000 | |
bind r source-file ~/.tmux.conf | |
# Mouse option | |
set -g mouse on | |
set -g pane-active-border-fg white | |
set -g pane-active-border-bg yellow | |
# 256 | |
set -g default-terminal "screen-256color" | |
# Change window name to the name of current command | |
set-window-option -g automatic-rename on | |
# Move / Resize in Vim key binds | |
bind h select-pane -L | |
bind j select-pane -D | |
bind k select-pane -U | |
bind l select-pane -R | |
bind H resize-pane -L 5 | |
bind J resize-pane -D 5 | |
bind K resize-pane -U 5 | |
bind L resize-pane -R 5 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment