Created
August 19, 2022 10:19
-
-
Save thierrymarianne/095cbd9bceb761423bbeeb71123fb841 to your computer and use it in GitHub Desktop.
An example of tmux configuration
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-option -g default-shell /bin/zsh | |
# @see https://github.com/lucaswerkmeister/home/commit/96b02b00a3dececf2271f73a7188a2c53b4fbc0c | |
set-option -g update-environment[0] GNOME_TERMINAL_SCREEN | |
set-option -g update-environment[1] GNOME_TERMINAL_SERVICE | |
setw -g mode-keys vi | |
setw -g aggressive-resize on | |
set-window-option -g xterm-keys on | |
bind [ copy-mode | |
bind -T copy-mode-vi v send-keys -X begin-selection | |
bind -T copy-mode-vi y send-keys -X copy-selection | |
bind -T copy-mode-vi V send-keys -X rectangle-toggle | |
bind -T copy-mode-vi y send -X copy-pipe "xclip -i -sel p -f | copyq add - ; copyq read 0 | xclip -sel clip" \; display-message "copied to system clipboard" | |
bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xclip -in -selection clipboard" | |
bind ] paste-buffer | |
# List of plugins | |
set -g @plugin 'tmux-plugins/tpm' | |
set -g @plugin 'tmux-plugins/tmux-sensible' | |
set -g @plugin 'tmux-plugins/tmux-resurrect' | |
set -g @plugin 'tmux-plugins/tmux-continuum' | |
set -g @pl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment