diff options
Diffstat (limited to '.w3m/cgi-bin/fn_goto_tmux_clipboard.cgi')
-rwxr-xr-x | .w3m/cgi-bin/fn_goto_tmux_clipboard.cgi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.w3m/cgi-bin/fn_goto_tmux_clipboard.cgi b/.w3m/cgi-bin/fn_goto_tmux_clipboard.cgi new file mode 100755 index 0000000..e6d1a5b --- /dev/null +++ b/.w3m/cgi-bin/fn_goto_tmux_clipboard.cgi @@ -0,0 +1,5 @@ +#!/usr/bin/env sh +echo "W3m-control: SET_OPTION default_url=0" +echo "W3m-control: GOTO $(tmux show-buffer)" +echo "W3m-control: DELETE_PREVBUF" +echo "W3m-control: SET_OPTION default_url=1" |