Tmux
Current .tmux.conf file
# remap prefix from 'C-b' to 'C-a'
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# Start window numbering at 1
set -g base-index 1
#history-limit
set -g history-limit 20000
# pane movement
bind-key j command-prompt -p "join pane from:" "join-pane -s '%%'"
bind-key s command-prompt -p "send pane to:" "join-pane -t '%%'"
#Vi search mode
set-window-option -g mode-keys vi
#Tmux logging in /opt/tmux-log(Prefix alt+shift+p)
#run-shell /opt/tmux-logging/logging.tmux
#Enable mouse scrolling using mouse mode
set -g mouse on
##########################
## Tmux Plugin Manager
# List of plugins
set -g @plugin 'tmux-plugins/tmux-logging'
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @yank_selection 'clipboard' #'primary' # or 'secondary' or 'clipboard'
set -g @yank_selection_mouse 'clipboard' # or 'primary' or 'secondary'
#################################
# Show tun0 IP in tmux status bar:
set -g status-right "#[fg=colour0,bg=colour110]#(/home/sid/htb/vpn_ip.sh)#[fg=colour255,bg=colour24] %H:%M %d.%m.%Y "Sessions
Windows
Panes
Copy Mode
Misc
Display VPN IP in Status Bar
Last updated