open in browser
This commit is contained in:
@ -48,11 +48,15 @@ set -g history-limit 10000
|
||||
bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel \; run -b "tmux save-buffer - | \xclip -i -sel clipboard"
|
||||
unbind-key p
|
||||
bind-key p paste-buffer -p
|
||||
# Open in browser // requires $BROWSER env-update
|
||||
bind-key -T copy-mode-vi O send-keys -X copy-pipe-and-cancel "xargs ${BROWSER}"
|
||||
bind-key -T copy-mode O send-keys -X copy-pipe-and-cancel "xargs ${BROWSER}"
|
||||
|
||||
# Environment
|
||||
set -ga update-environment ' FAVCHAR'
|
||||
set -ga update-environment ' LINES'
|
||||
set -ga update-environment ' COLUMNS'
|
||||
set -ga update-environment ' BROWSER'
|
||||
|
||||
# Looks
|
||||
set -g status on
|
||||
@ -79,8 +83,6 @@ set -g history-limit 10000
|
||||
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'"
|
||||
|
Reference in New Issue
Block a user