add tmux-thumbs x86
This commit is contained in:
11
tmux-x86/.tmux/plugins/tmux-thumbs/tmux-thumbs.tmux
Executable file
11
tmux-x86/.tmux/plugins/tmux-thumbs/tmux-thumbs.tmux
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
DEFAULT_THUMBS_KEY=space
|
||||
|
||||
THUMBS_KEY="$(tmux show-option -gqv @thumbs-key)"
|
||||
THUMBS_KEY=${THUMBS_KEY:-$DEFAULT_THUMBS_KEY}
|
||||
|
||||
tmux set-option -ag command-alias "thumbs-pick=run-shell -b ${CURRENT_DIR}/tmux-thumbs.sh"
|
||||
tmux bind-key "${THUMBS_KEY}" thumbs-pick
|
||||
Reference in New Issue
Block a user