diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index 6757c4e..670b31e 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -78,3 +78,12 @@ set -g history-limit 10000 set -g window-status-format "[ #{=/9/…:window_name} ]" set -g window-status-current-format "[ #{=/9/…:window_name}*]" set -g window-status-current-style "bg=white fg=color24" + +#kupi.email + +# --- PLUGINS --- +# tmux-open (https://github.com/tmux-plugins/tmux-open) +bind-key -T copy-mode-vi o send-keys -X copy-pipe-and-cancel \; run -b "sed 's/##/####/g' | xargs -I {} echo tmux run-shell -b 'cd #{pane_current_path}; xdg-open \"{}\" > /dev/null'" +bind-key -T copy-mode o send-keys -X copy-pipe-and-cancel \; run -b "sed 's/##/####/g' | xargs -I {} echo tmux run-shell -b 'cd #{pane_current_path}; xdg-open \"{}\" > /dev/null'" +#bind-key -T copy-mode-vi C-o send-keys -X copy-pipe-and-cancel \; run -b "sed 's/##/####/g' | xargs -I {} echo tmux run-shell -b 'vim -- \"{}\"'" +#bind-key -T copy-mode C-o send-keys -X copy-pipe-and-cancel \; run -b "sed 's/##/####/g' | xargs -I {} echo tmux run-shell -b 'vim -- \"{}\"'"