[xdotool](https://github.com/jordansissel/xdotool) can simulate keystrokes from stdin. Although untested, perhaps keyb could start in a special mode where any selection could be piped into xdotool to simulate the keystroke: ```bash $ keyb --xdotool | xdotool key ``` like how `fzf` is often used.