by GNOMES · 1y ago · 0 comments
I did come up with Ghostty bindings to replicate my tmux settings if it helps anyone (my tmux leader is ctrl + space):
# clear default bindings + add paste back
keybind=clear
keybind=super+v=paste_from_clipboard
# navigate panes
keybind=ctrl+h=goto_split:left
keybind=ctrl+j=goto_split:bottom
keybind=ctrl+k=goto_split:top
keybind=ctrl+l=goto_split:right
keybind=ctrl+space>shift+apostrophe=new_split:down
keybind=ctrl+space>shift+five=new_split:right
keybind=ctrl+space>space=equalize_splits
keybind=ctrl+space>z=toggle_split_zoom
# navigate tabs
keybind=ctrl+space>c=new_tab
keybind=ctrl+space>one=goto_tab:1
...
keybind=ctrl+space>zero=goto_tab:10other parts of my config that could be relevant, using with iterm2.
``` bind h select-pane -L bind j select-pane -D bind k select-pane -U bind l select-pane -R bind -r H resize-pane -L 1 bind -r J resize-pane -D 1 bind -r K resize-pane -U 1 bind -r L resize-pane -R 1 set -g mouse on bind \\ split-window -h -c '#{pane_current_path}' bind - split-window -v -c '#{pane_current_path}' set -g focus-events on setw -g aggressive-resize on set -g display-time 4000 set -s escape-time 0 ```