Created
April 19, 2024 16:21
-
-
Save T0NG-J/951cc962236d354b23dc93941ecedf14 to your computer and use it in GitHub Desktop.
Tonggy tmux configuration file backup
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 mouse on | |
#set-window-option -g mode-keys vi | |
#set -g status-keys vi | |
#tmux copy vi mode | |
setw -g mode-keys vi | |
set -g @tmux_power_user_icon '㉿' | |
# List of plugins | |
set -g @plugin 'tmux-plugins/tpm' | |
set -g @plugin 'tmux-plugins/tmux-sensible' | |
set -g @plugin 'tmux-plugins/tmux-yank' | |
set -g @plugin 'wfxr/tmux-power' | |
set -g @plugin 'tmux-plugins/tmux-prefix-highlight' | |
set -g @tmux_power_theme 'sky' | |
#set -g @tmux_power_theme 'default' | |
set -g @tmux_power_prefix_highlight_pos 'L' | |
set -g @yank_action 'copy-pipe-no-clear' | |
#set -g @yank_action 'copy-pipe' | |
#bind -T copy-mode C-c send -X copy-pipe-no-clear "xsel -i --clipboard" | |
#bind -T copy-mode C-c send -X copy-pipe "xsel -i --clipboard" | |
#bind -T copy-mode-vi C-c send -X copy-pipe "xsel -i --clipboard" | |
bind -T copy-mode C-c send -X copy-pipe "xclip -selection c" | |
bind -T copy-mode-vi C-c send -X copy-pipe "xclip -selection c" | |
# Other examples: | |
# set -g @plugin 'github_username/plugin_name' | |
# set -g @plugin 'github_username/plugin_name#branch' | |
# set -g @plugin '[email protected]:user/plugin' | |
# set -g @plugin '[email protected]:user/plugin' | |
bind '"' split-window -c "#{pane_current_path}" | |
bind % split-window -h -c "#{pane_current_path}" | |
bind c new-window -c "#{pane_current_path}" | |
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) | |
run '~/.tmux/plugins/tpm/tpm' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment