Created
February 3, 2023 00:17
-
-
Save NickPiscitelli/e5eeaa2f3c8189dd29889967b0109ebd to your computer and use it in GitHub Desktop.
Kitty kitten to select tab via fzf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
tabs="$( kitty @ ls | jq -r '.[] | .tabs[] | .title' )" | |
tab="$(fzf --reverse <<< "${tabs}")" | |
kitty @ focus-tab -m "window_title:${tab}" | |
# map ctrl+shift+p launch --allow-remote-control --type=overlay kitty-tab-select |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment