Last active
April 16, 2021 18:23
-
-
Save crazyboycjr/04ad1c1fed64cd19f8668a710267e716 to your computer and use it in GitHub Desktop.
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
set -g default-terminal "xterm-256color" | |
set -g mouse on | |
set -g history-limit 999999999 | |
set -g repeat-time 200 | |
set -g terminal-overrides 'xterm*:smcup@:rmcup@' | |
run-shell /usr/share/tmux-resurrect/resurrect.tmux | |
bind a set-window-option synchronize-panes | |
set -sg escape-time 0 | |
# copy to X clipboard | |
bind -T copy-mode-vi v send -X begin-selection | |
bind -T copy-mode-vi y send-keys -X copy-pipe 'xclip -in -selection clipboard &> /dev/null' | |
bind -T copy-mode-vi MouseDown1Pane select-pane \; send -X clear-selection | |
unbind -T copy-mode-vi MouseDragEnd1Pane | |
# Move between panes with vi keys | |
bind h select-pane -L | |
bind j select-pane -D | |
bind k select-pane -U | |
bind l select-pane -R | |
# Avoid date/time taking up space | |
set -g status-right '' | |
set -g status-right-length 0 | |
source-file ~/.tmux/tmux-gruvbox-dark.conf |
:setw synchronize-panes on
just find it quite useful
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
for old version tmux