# This file should be located at $XDG_CONFIG_HOME/gtt/keymap.yaml or $HOME/.config/gtt/keymap.yaml. # For key to combine with Ctrl, the value can be "C-space", "C-\\", "C-]", "C-^", "C-_" or "C-a" to "C-z". # For key to combine with Alt, the value can be "A-space" or "A-" + the character you want. # Or you can use function key, the value can be "F1" to "F64". # The following is the default key map # Exit program, exit: "C-c" # Translate from source to destination window, translate: "C-j" # Swap language, swap_language: "C-s" # Clear all text in source of translation window, clear: "C-q" # Copy selected text, copy_selected: "C-y" # Copy all text in source of translation window, copy_source: "C-g" # Copy all text in destination of translation window, copy_destination: "C-r" # Play text to speech on source of translation window, tts_source: "C-o" # Play text to speech on destination of translation window, tts_destination: "C-p" # Stop playing text to speech, stop_tts: "C-x" # Toggle transparent, toggle_transparent: "C-t" # Toggle Definition/Example & Part of speech, toggle_below: "C-\\"