1
0
Fork 0
mirror of synced 2024-05-26 20:11:09 -04:00

added urlview integration

This commit is contained in:
Gregory Pakosz 2015-07-24 22:25:37 +02:00
parent b480fc00fb
commit 3007fa8f6c

View file

@ -95,6 +95,11 @@ bind Space last-window # move to last active window
bind m run "cut -c3- ~/.tmux.conf | sh -s toggle_mouse"
# -- urlview -------------------------------------------------------------------
bind u run "cut -c3- ~/.tmux.conf | sh -s urlview #{pane_id}"
# -- list choice ---------------------------------------------------------------
bind -t vi-choice h tree-collapse
@ -417,4 +422,9 @@ run 'for name in $(printenv | grep -Eo ^tmux_conf_[^=]+); do tmux setenv -gu $na
# fi
# }
#
# urlview() {
# tmux capture-pane -J -S - -E - -b urlview-$1 -t $1
# tmux split-window "(tmux show-buffer -b urlview-$1 | urlview || true); tmux delete-buffer -b urlview-$1"
# }
#
# $@