mirror of
https://github.com/FliegendeWurst/tmux-thumbs.git
synced 2024-11-10 00:00:36 +00:00
Add thumbs-pick command
This commit is contained in:
parent
017b8c654d
commit
cf7495cd3b
@ -7,7 +7,8 @@ DEFAULT_THUMBS_KEY=space
|
|||||||
THUMBS_KEY="$(tmux show-option -gqv @thumbs-key)"
|
THUMBS_KEY="$(tmux show-option -gqv @thumbs-key)"
|
||||||
THUMBS_KEY=${THUMBS_KEY:-$DEFAULT_THUMBS_KEY}
|
THUMBS_KEY=${THUMBS_KEY:-$DEFAULT_THUMBS_KEY}
|
||||||
|
|
||||||
tmux bind-key "${THUMBS_KEY}" run-shell -b "${CURRENT_DIR}/tmux-thumbs.sh"
|
tmux set-option -ag command-alias "thumbs-pick=run-shell -b ${CURRENT_DIR}/tmux-thumbs.sh"
|
||||||
|
tmux bind-key "${THUMBS_KEY}" thumbs-pick
|
||||||
|
|
||||||
BINARY="${CURRENT_DIR}/target/release/thumbs"
|
BINARY="${CURRENT_DIR}/target/release/thumbs"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user