added urlview integration
This commit is contained in:
parent
b480fc00fb
commit
3007fa8f6c
1 changed files with 10 additions and 0 deletions
10
.tmux.conf
10
.tmux.conf
|
@ -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"
|
||||
# }
|
||||
#
|
||||
# $@
|
||||
|
|
Loading…
Reference in a new issue