Created
March 21, 2025 02:51
-
-
Save astr0n8t/221eeb3c4a5aaf62e5c08c065fed176b to your computer and use it in GitHub Desktop.
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
# macOS ghostty tmux-esq config | |
# works great except the timing is different for leader key and resize than tmux | |
# uses the super key so that normal tmux will work in SSH and such | |
# create tabs/panes | |
keybind = super+b>c=new_tab | |
keybind = super+b>shift+apostrophe=new_split:down | |
keybind = super+b>shift+physical:5=new_split:right | |
# close tabs/panes | |
keybind = super+b>shift+physical:7=close_tab | |
keybind = super+b>x=close_surface | |
# navigate tabs | |
keybind = super+b>n=next_tab | |
keybind = super+b>p=previous_tab | |
keybind = super+b>physical:1=goto_tab:1 | |
keybind = super+b>physical:2=goto_tab:2 | |
keybind = super+b>physical:3=goto_tab:3 | |
keybind = super+b>physical:4=goto_tab:4 | |
keybind = super+b>physical:5=goto_tab:5 | |
keybind = super+b>physical:6=goto_tab:6 | |
keybind = super+b>physical:7=goto_tab:7 | |
keybind = super+b>physical:8=goto_tab:8 | |
keybind = super+b>physical:9=goto_tab:9 | |
keybind = super+b>physical:0=goto_tab:10 | |
# focus pane | |
keybind = super+b>space=toggle_split_zoom | |
# navigate panes | |
keybind = super+b>right=goto_split:right | |
keybind = super+b>left=goto_split:left | |
keybind = super+b>up=goto_split:up | |
keybind = super+b>down=goto_split:down | |
# resize panes | |
keybind = super+b>shift+right=resize_split:right,20 | |
keybind = super+b>shift+left=resize_split:left,20 | |
keybind = super+b>shift+up=resize_split:up,20 | |
keybind = super+b>shift+down=resize_split:down,20 | |
keybind = super+b>e=equalize_splits |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment