diff options
Diffstat (limited to '.tmux.conf')
-rw-r--r-- | .tmux.conf | 17 |
1 files changed, 12 insertions, 5 deletions
@@ -13,8 +13,13 @@ set -g @plugin 'tmux-plugins/tmux-continuum' set -g @continuum-restore 'on' set -g @continuum-save-interval '15' +set -g @yank_selection 'clipboard' +set -g @yank_action 'copy-pipe-and-cancel' +set -g @custom_copy_command 'pyclip copy' +set -g @override_copy_command 'pyclip copy' + # set -g @plugin 'tmux-plugins/tmux-sidebar' -# set -g @resurrect-processes `ranger ssh w3mlastsession k9s top cointop newsboat irssi neomutt` +# set -g @resurrect-processes `ranger ssh w3mlastsession k9s top cointop newsboat neomutt` set -g @fzf-url-history-limit '2000' set -g @fzf-url-fzf-options '-w 70% -h 70% --multi -0 --no-preview --border=sharp' @@ -40,12 +45,12 @@ set -sg escape-time 0 set -g default-command /usr/bin/zsh set -g default-shell /usr/bin/zsh -set -g default-terminal "st-256color" -set -s set-clipboard external +set -g default-terminal "screen-256color" +# set -s set-clipboard external set-option -g prefix C-a set -g status-interval 120 -set-option -g history-limit 10000 +set-option -g history-limit 30000 set-option -g repeat-time 500 set -g display-time 0 set status-keys vi @@ -132,9 +137,11 @@ setw -g mode-keys vi bind [ copy-mode # bind -T copy-mode-vi 'v' send -X begin-selection # set -s copy-command 'wl-copy' -set -s copy-command 'xsel -ib' +# set -s copy-command 'xsel -ib' + bind -T copy-mode-vi 'v' send -X copy-pipe bind -T copy-mode-vi 'y' send -X copy-pipe-and-cancel + # bind -T copy-mode-vi 'y' send -X copy-selection-and-cancel "xsel -i --clipboard" #bind -T copy-mode-vi 'V' rectangle-toggle bind ] paste-buffer |