Last active
February 27, 2023 22:31
-
-
Save ricardojba/b567a7ea0d283148aa0f60cd8232fdf4 to your computer and use it in GitHub Desktop.
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
set -g base-index 1 | |
set -g pane-base-index 1 | |
set -g default-terminal "screen-256color" | |
set -g history-limit 100000 | |
set-window-option -g automatic-rename off | |
set-option -g set-titles off | |
bind r source-file ~/.tmux.conf | |
set-option -g mouse on | |
set -g mouse on | |
set -g xterm-keys on | |
bind R refresh-client | |
set -g terminal-overrides 'xterm*:smcup@:rmcup@' | |
setw -g mode-keys vi | |
unbind -T copy-mode-vi Enter | |
bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "xclip -selection c" | |
bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xclip -in -selection clipboard" | |
set -s escape-time 50 | |
set -g status-interval 300 | |
set -g status-right-length 100 | |
set -g status-right "#(dig +short myip.opendns.com @resolver1.opendns.com) #(ip add |grep 'inet '|awk 'FNR==2{ print $2}') #(uname -r) #(cut -d ' ' -f 1-3 /proc/loadavg) %H:%M %d-%b-%y" | |
#set -g status-right "#(curl http://169.254.169.254/latest/meta-data/public-ipv4) #(ip add |grep 'inet '|awk 'FNR==2{ print $2}') #(uname -r) #(cut -d ' ' -f 1-3 /proc/loadavg) %H:%M %d-%b-%y" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment