X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=tmux%2F.tmux.conf;h=7ca32a6469748f045d5f5f9b6929bc11a6d16d0c;hb=7518da30061fd45612e37e9eac07b1513bdb5b95;hp=7c34248fa16bea73197ffa1581dc2e5e5fc5995c;hpb=93c7ca3a3c72e3c4b2fee37e6669e81753f4e980;p=dotfiles.git diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index 7c34248..7ca32a6 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -30,8 +30,30 @@ set-window-option -g window-status-current-format "#I:#W#F" set-window-option -g window-status-current-style "bg=red" set-window-option -g window-status-last-style "bg=cyan" -bind-key u capture-pane -J \; save-buffer /tmp/tmux-buffer \; split-window 'urlview /tmp/tmux-buffer' \; delete-buffer -bind-key y capture-pane -J \; save-buffer /tmp/tmux-buffer \; split-window 'vim -c "set listchars=" -c "match ExtraWhitespace //" /tmp/tmux-buffer' \; delete-buffer -bind-key Y capture-pane -J -S - -E - \; save-buffer /tmp/tmux-buffer \; split-window 'vim -c "set listchars=" -c "match ExtraWhitespace //" /tmp/tmux-buffer' \; delete-buffer bind-key b set-option status unbind-key L + +bind-key t display-menu \ + dict d "popup -KE -R ~/bin/dict.sh" \ + top t "popup -KE -R \"top -s 1\"" + +bind-key u { + capture-pane -J + save-buffer /tmp/tmux-buffer + delete-buffer + popup -EK -R "urlview /tmp/tmux-buffer" +} + +bind-key y { + capture-pane -J + save-buffer /tmp/tmux-buffer + delete-buffer + split-window 'vim -c "set listchars=" -c "match ExtraWhitespace //" /tmp/tmux-buffer' +} + +bind-key Y { + capture-pane -J -S - -E - + save-buffer /tmp/tmux-buffer + delete-buffer + split-window 'vim -c "set listchars=" -c "match ExtraWhitespace //" /tmp/tmux-buffer' +}