Rust based tool for converting gnome-terminal shortcuts to ghostty keybindings. ghosttify can update a ghostty config with these converted keybindings by adding a config-file named gnome-shortcuts. ghosttify will look for the main config file at ~/.config/ghostty/config, add the config-file to the main config if it is not already declared, and create/update the gnome-shortcuts file with the found gnome-terminal shortcuts.
ghostty keybindings: https://ghostty.org/docs/config/keybind/reference
gnome-terminal shortcuts: https://systemshortcuts.com/gnome-terminal/
- -a, --apply: Creates or updates the "gnome-shortcuts" file with the converted
gnome-terminalshortcuts. - -c, --avoid-conflict: When applying the keybindings, only apply those for actions that don't already have keybindings and keybindings that have not been bound to an action.
- --gnome: Print the found
gnome-terminalshortcuts. - --ghosttify: Print the found non-default
ghosttyshortcuts. These are the shortcuts that have been found in the default config and declared config files.
To install either clone the repository and build from source or use cargo.
-
$ git clone https://github.com/natibek/ghosttify.git $ cd ghosttify $ cargo buildDelete the repository and move the binary from
~/ghottify/target/debug/ghottifyto a directory in yourPATH. -
$ cargo install ghosttify