commit ef944834fae9c545ebf4f62198ccc6a76c4e78a0 parent 30c686c723baa597b328058bd7a9283b0aa21828 Author: Anders Damsgaard <andersd@riseup.net> Date: Sat, 28 Oct 2017 13:07:24 -0400 update urlview binding Diffstat:
M | links/.tmux.conf | | | 6 | +++++- |
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/links/.tmux.conf b/links/.tmux.conf @@ -124,7 +124,11 @@ set -g message-bg black set -g message-attr bright # use urlview to follow URLs -bind-key u capture-pane \; save-buffer /tmp/active_tmux_buffer \; new-window -n urlview '$SHELL -c "urlview < /tmp/active_tmux_buffer && rm /tmp/active_tmux_buffer"' +bind-key u capture-pane -J \; \ + save-buffer "/tmp/active_tmux_buffer" \; \ + delete-buffer \; \ + split-window -l 10 "urlview '/tmp/active_tmux_buffer' && rm /tmp/active_tmux_buffer" + bind-key o split-window -p 25 '$SHELL -c "offlineimap -qf INBOX"' \; select-pane -l bind-key O split-window -p 25 '$SHELL -c "offlineimap"' \; select-pane -l