diff options
author | terminaldweller <thabogre@gmail.com> | 2023-02-13 09:49:05 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2023-02-13 09:49:05 +0000 |
commit | 3d864c067471c657b95979b30c2e5cdc603ad17b (patch) | |
tree | 81aec07b3c310a00b50634349838cef345a4a7bf /.tmux.conf | |
parent | updates (diff) | |
download | scripts-3d864c067471c657b95979b30c2e5cdc603ad17b.tar.gz scripts-3d864c067471c657b95979b30c2e5cdc603ad17b.zip |
update
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 |