PREFERENCES_FILE = "texty.prefs"
DEFAULT_PREFS = {
"width": 800,
"height": 600,
"x_pos": "center",
"y_pos": "center",
"theme": "system",
}
KEYBINDS = {
"New Text File": f"meta-N", # New Text File
"New Window": f"meta-Shift-N", # New Window
"New Tab": f"meta-T", # New Tab
"Open File": f"meta-O", # Open File
"Save": f"meta-S", # Save
"Save As": f"meta-Shift-S", # Save As
"Close Tab": f"meta-W", # Close Tab
"Close": f"Alt-F4", # Close
"Quit": f"meta-Q", # Quit
"Undo": f"meta-Z", # Undo
"Redo": f"meta-Shift-Z", # Redo
"Cut": f"meta-X", # Cut
"Copy": f"meta-C", # Copy
"Paste": f"meta-V", # Paste
"Paste and Match Style": f"meta-Shift-V", # Paste and Match Style
"Select All": f"meta-A", # Select All
"Find": f"meta-F", # Find
"Find Next": f"meta-G", # Find Next
"Find Previous": f"meta-Shift-G", # Find Previous
"Replace": f"meta-R", # Replace
"Go To Line": f"meta-L", # Go To Line
"Word Wrap": f"meta-Shift-W", # Word Wrap
"Print Preview": f"meta-Shift-P", # Print Preview
"Print": f"meta-P", # Print
"Maximize": f"meta-M", # Maximize
}
MAC_KEYBINDS = {
"Preferences": f"meta-,", # Preferences
"Close Window": f"meta-Shift-W", # Close Window
"Hide Texty": f"meta-H", # Hide Texty
"Hide Others": f"meta-Shift-H", # Hide Others
"Show All": f"meta-Shift-A", # Show All
}