Last active
February 18, 2020 14:43
-
-
Save Axelcouty/62612573de9c6de5d6351464edaf4ba1 to your computer and use it in GitHub Desktop.
.tmux.conf
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
unbind C-b | |
set -g prefix C-a | |
bind C-a send-prefix | |
set -g terminal-overrides 'xterm*:smcup@:rmcup@' | |
# line history buffer limit | |
set-option -g history-limit 100000 | |
# configuration reload | |
bind C-r source-file ~/.tmux.conf \; display 'Config reloaded.' | |
bind-key u capture-pane \; save-buffer /tmp/tmux-buffer \; run-shell "$TERMINAL -e urlview /tmp/tmux-buffer" | |
# split actions | |
unbind C-w | |
unbind C-x | |
bind C-w split-window -h | |
bind C-x split-window -v | |
# Delete current tmux pane | |
unbind C-d | |
bind C-d kill-pane | |
# quick selection | |
bind C-a select-pane -t :.+ | |
# use 256 colour term | |
set -g default-terminal "screen-256color" | |
set -g mouse on | |
unbind [ | |
bind Escape copy-mode |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment