
#!/usr/bin/env bash

CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source $CURRENT_DIR/../tmuxomatic.sh
source $CURRENT_DIR/../helpers.sh

TMUX_PREFIX=C-space

tmuxomatic__begin begin_hook

begin_with_conf "custom-bindings"
init_pane

tmuxomatic__exec "cat ./test/fixtures/grep-output"
invoke_fingers
tmuxomatic send-keys "d"
echo_yanked

tmuxomatic__expect "yanked text is scripts/hints.sh"
tmuxomatic__end end_hook
