From: Sergey Matveev Date: Tue, 29 Sep 2020 09:50:53 +0000 (+0300) Subject: Example tmux menu usage X-Git-Url: http://www.git.stargrave.org/?p=dotfiles.git;a=commitdiff_plain;h=7518da30061fd45612e37e9eac07b1513bdb5b95;hp=0a4b668d88d3004826085ba784b512274ffc824b Example tmux menu usage --- diff --git a/bin/bin/dict.sh b/bin/bin/dict.sh new file mode 100755 index 0000000..442ceec --- /dev/null +++ b/bin/bin/dict.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +read word +sdcv $word | less diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index 93eaeeb..7ca32a6 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -33,6 +33,10 @@ set-window-option -g window-status-last-style "bg=cyan" 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