tmux conf

unbind C-b
set -g prefix M-a
set -g pane-border-fg green
set -g pane-active-border-fg red
set -g mouse on
bind P paste-buffer
bind r source-file ~/.tmux.conf \; display "Reloaded!"
bind \ split-window -h 
bind - split-window -v
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "xclip -i -f -selection primary | xclip -i -selection clipboard"
# tmux plugin manager
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-yank'
# Other examples:
# set -g @plugin 'github_username/plugin_name'
# set -g @plugin '[email protected]/user/plugin'
# set -g @plugin '[email protected]/user/plugin'

# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run -b '~/.tmux/plugins/tpm/tpm'

猜你喜欢

转载自blog.csdn.net/weixin_33923148/article/details/86858867