Files

492 lines
9.6 KiB
TOML

# Laptop layout for currently implemented reader commands.
# FENRIR is Caps Lock, Insert, or NumLock-off keypad 0.
# Shift+Caps Lock toggles capitalization.
version = 1
fenrir_keys = ["CAPSLOCK", "INSERT", "KP0"]
[[bindings]]
name = "Last notification"
keys = ["FENRIR", "N"]
command = "last_notification"
[[bindings]]
name = "Notification history"
keys = ["FENRIR", "CTRL", "N"]
command = "notification_history"
[[bindings]]
name = "Tracking mode"
keys = ["FENRIR", "Y"]
command = "toggle_highlight_tracking"
[[bindings]]
name = "Fenrir Menu"
keys = ["FENRIR", "F"]
command = "fenrir_menu"
[[bindings]]
name = "Emoji Menu"
keys = ["FENRIR", "CTRL", "E"]
command = "emoji_menu"
[[bindings]]
name = "Top"
keys = ["FENRIR", "SHIFT", "U"]
command = "top"
[[bindings]]
name = "Bottom"
keys = ["FENRIR", "SHIFT", "O"]
command = "bottom"
[[bindings]]
name = "Line start"
keys = ["FENRIR", "SHIFT", "J"]
command = "line_start"
[[bindings]]
name = "Line end"
keys = ["FENRIR", "SHIFT", "L"]
command = "line_end"
[[bindings]]
name = "First text"
keys = ["FENRIR", "CTRL", "J"]
command = "first_text"
[[bindings]]
name = "Last text"
keys = ["FENRIR", "CTRL", "L"]
command = "last_text"
[[bindings]]
name = "Read screen"
keys = ["FENRIR", "SHIFT", "K"]
command = "read_screen"
[[bindings]]
name = "Screen before cursor"
keys = ["FENRIR", "SHIFT", "I"]
command = "curr_screen_before_cursor"
[[bindings]]
name = "Screen after cursor"
keys = ["FENRIR", "SHIFT", "COMMA"]
command = "curr_screen_after_cursor"
[[bindings]]
name = "Character above"
keys = ["FENRIR", "CTRL", "I"]
command = "review_up"
[[bindings]]
name = "Character below"
keys = ["FENRIR", "CTRL", "COMMA"]
command = "review_down"
[[bindings]]
name = "Follow cursor"
keys = ["FENRIR", "SLASH"]
command = "follow_cursor"
[[bindings]]
name = "Help"
keys = ["FENRIR", "H"]
command = "help"
[[bindings]]
name = "Tutorial"
keys = ["FENRIR", "F1"]
command = "help"
[[bindings]]
name = "Mute"
keys = ["FENRIR", "F4"]
command = "mute"
[[bindings]]
name = "Automatic reading"
keys = ["FENRIR", "ENTER"]
command = "auto_read"
[[bindings]]
name = "Forward next key"
keys = ["FENRIR", "BACKSPACE"]
command = "pass_next"
[[bindings]]
name = "Quit"
keys = ["FENRIR", "Q"]
command = "quit"
[[bindings]]
name = "Previous line"
keys = ["FENRIR", "U"]
command = "previous_line"
[[bindings]]
name = "Current line"
keys = ["FENRIR", "I"]
command = "current_line"
double_command = "spell_line"
triple_command = "phonetic_line"
[[bindings]]
name = "Next line"
keys = ["FENRIR", "O"]
command = "next_line"
[[bindings]]
name = "Previous word"
keys = ["FENRIR", "J"]
command = "previous_word"
[[bindings]]
name = "Current word"
keys = ["FENRIR", "K"]
command = "current_word"
double_command = "spell_word"
triple_command = "phonetic_word"
[[bindings]]
name = "Next word"
keys = ["FENRIR", "L"]
command = "next_word"
[[bindings]]
name = "Previous character"
keys = ["FENRIR", "M"]
command = "previous_character"
[[bindings]]
name = "Current character"
keys = ["FENRIR", "COMMA"]
command = "current_character"
double_command = "phonetic_character"
[[bindings]]
name = "Next character"
keys = ["FENRIR", "DOT"]
command = "next_character"
[[bindings]]
name = "Position"
keys = ["FENRIR", "SHIFT", "DOT"]
command = "position"
# Clipboard commands match Python Fenrir.
[[bindings]]
name = "Set mark"
keys = ["FENRIR", "X"]
command = "set_mark"
[[bindings]]
name = "Remove marks"
keys = ["FENRIR", "CTRL", "SHIFT", "X"]
command = "remove_marks"
[[bindings]]
name = "Marked text"
keys = ["FENRIR", "SHIFT", "X"]
command = "marked_text"
[[bindings]]
name = "Copy marked text"
keys = ["FENRIR", "C"]
command = "copy_marked_to_clipboard"
[[bindings]]
name = "Current clipboard"
keys = ["FENRIR", "SHIFT", "C"]
command = "curr_clipboard"
[[bindings]]
name = "Clear clipboard"
keys = ["FENRIR", "CTRL", "SHIFT", "C"]
command = "clear_clipboard"
[[bindings]]
name = "First clipboard"
keys = ["FENRIR", "HOME"]
command = "first_clipboard"
[[bindings]]
name = "Last clipboard"
keys = ["FENRIR", "END"]
command = "last_clipboard"
[[bindings]]
name = "Previous clipboard"
keys = ["FENRIR", "PAGEUP"]
command = "prev_clipboard"
[[bindings]]
name = "Next clipboard"
keys = ["FENRIR", "PAGEDOWN"]
command = "next_clipboard"
[[bindings]]
name = "Paste clipboard"
keys = ["FENRIR", "V"]
command = "paste_clipboard"
[[bindings]]
name = "Import clipboard from file"
keys = ["FENRIR", "F5"]
command = "import_clipboard_from_file"
[[bindings]]
name = "Export clipboard to file"
keys = ["FENRIR", "F6"]
command = "export_clipboard_to_file"
[[bindings]]
name = "Import clipboard from X"
keys = ["FENRIR", "F7"]
command = "import_clipboard_from_x"
[[bindings]]
name = "Export clipboard to X"
keys = ["FENRIR", "F8"]
command = "export_clipboard_to_x"
[[bindings]]
name = "Copy last echo"
keys = ["FENRIR", "CTRL", "U"]
command = "copy_last_echo_to_clipboard"
[[bindings]]
name = "Current quick menu entry"
keys = ["FENRIR", "SPACE"]
command = "current_quick_menu_entry"
[[bindings]]
name = "Next quick menu category"
keys = ["FENRIR", "CTRL", "RIGHT"]
command = "next_quick_menu_category"
[[bindings]]
name = "Previous quick menu category"
keys = ["FENRIR", "CTRL", "LEFT"]
command = "prev_quick_menu_category"
[[bindings]]
name = "Next quick menu entry"
keys = ["FENRIR", "RIGHT"]
command = "next_quick_menu_entry"
[[bindings]]
name = "Previous quick menu entry"
keys = ["FENRIR", "LEFT"]
command = "prev_quick_menu_entry"
[[bindings]]
name = "Increase quick menu value"
keys = ["FENRIR", "UP"]
command = "next_quick_menu_value"
[[bindings]]
name = "Decrease quick menu value"
keys = ["FENRIR", "DOWN"]
command = "prev_quick_menu_value"
[[bindings]]
name = "Save settings"
keys = ["FENRIR", "CTRL", "S"]
command = "save_settings"
[[bindings]]
name = "Progress monitoring"
keys = ["FENRIR", "SHIFT", "P"]
command = "progress_bar_monitor"
[[bindings]]
name = "Time and date"
keys = ["FENRIR", "T"]
command = "time"
double_command = "date"
[[bindings]]
name = "Fenrir version"
keys = ["FENRIR", "SHIFT", "V"]
command = "announce_fenrir_version"
[[bindings]]
name = "Row number"
keys = ["FENRIR", "CTRL", "SHIFT", "U"]
command = "cursor_lineno"
[[bindings]]
name = "Column number"
keys = ["FENRIR", "CTRL", "SHIFT", "O"]
command = "cursor_column"
[[bindings]]
name = "Line to cursor"
keys = ["FENRIR", "CTRL", "SHIFT", "J"]
command = "cursor_read_line_to_cursor"
[[bindings]]
name = "Line from cursor"
keys = ["FENRIR", "CTRL", "SHIFT", "L"]
command = "cursor_read_to_end_of_line"
[[bindings]]
name = "First screen character"
keys = ["FENRIR", "CTRL", "M"]
command = "review_screen_first_char"
[[bindings]]
name = "Last screen character"
keys = ["FENRIR", "CTRL", "DOT"]
command = "review_screen_last_char"
[[bindings]]
name = "Attributes"
keys = ["FENRIR", "SHIFT", "A"]
command = "attribute_cursor"
[[bindings]]
name = "Toggle attribute feedback"
keys = ["FENRIR", "KPMINUS"]
command = "toggle_has_attribute"
[[bindings]]
name = "Spellcheck Menu"
keys = ["FENRIR", "S"]
command = "spellcheck_menu"
# Reading regions last for this reader session; marks use Fenrir+X.
[[bindings]]
name = "Reading window"
keys = ["FENRIR", "CTRL", "8"]
command = "set_window_application"
double_command = "clear_window_application"
[[bindings]]
name = "Set live region"
keys = ["FENRIR", "B"]
command = "set_live_region"
[[bindings]]
name = "List reading regions"
keys = ["FENRIR", "SHIFT", "B"]
command = "list_reading_regions"
[[bindings]]
name = "Clear live regions"
keys = ["FENRIR", "CTRL", "B"]
command = "clear_live_regions"
[[bindings]]
name = "Clear all reading regions"
keys = ["FENRIR", "CTRL", "SHIFT", "B"]
command = "clear_reading_regions"
[[bindings]]
name = "Read live region 1"
keys = ["FENRIR", "1"]
command = "read_live_region_1"
[[bindings]]
name = "Clear live region 1"
keys = ["FENRIR", "SHIFT", "1"]
command = "clear_live_region_1"
[[bindings]]
name = "Read live region 2"
keys = ["FENRIR", "2"]
command = "read_live_region_2"
[[bindings]]
name = "Clear live region 2"
keys = ["FENRIR", "SHIFT", "2"]
command = "clear_live_region_2"
[[bindings]]
name = "Read live region 3"
keys = ["FENRIR", "3"]
command = "read_live_region_3"
[[bindings]]
name = "Clear live region 3"
keys = ["FENRIR", "SHIFT", "3"]
command = "clear_live_region_3"
[[bindings]]
name = "Read live region 4"
keys = ["FENRIR", "4"]
command = "read_live_region_4"
[[bindings]]
name = "Clear live region 4"
keys = ["FENRIR", "SHIFT", "4"]
command = "clear_live_region_4"
[[bindings]]
name = "Read live region 5"
keys = ["FENRIR", "5"]
command = "read_live_region_5"
[[bindings]]
name = "Clear live region 5"
keys = ["FENRIR", "SHIFT", "5"]
command = "clear_live_region_5"
[[bindings]]
name = "Read live region 6"
keys = ["FENRIR", "6"]
command = "read_live_region_6"
[[bindings]]
name = "Clear live region 6"
keys = ["FENRIR", "SHIFT", "6"]
command = "clear_live_region_6"
[[bindings]]
name = "Read live region 7"
keys = ["FENRIR", "7"]
command = "read_live_region_7"
[[bindings]]
name = "Clear live region 7"
keys = ["FENRIR", "SHIFT", "7"]
command = "clear_live_region_7"
[[bindings]]
name = "Read live region 8"
keys = ["FENRIR", "8"]
command = "read_live_region_8"
[[bindings]]
name = "Clear live region 8"
keys = ["FENRIR", "SHIFT", "8"]
command = "clear_live_region_8"
[[bindings]]
name = "Read live region 9"
keys = ["FENRIR", "9"]
command = "read_live_region_9"
[[bindings]]
name = "Clear live region 9"
keys = ["FENRIR", "SHIFT", "9"]
command = "clear_live_region_9"
[[bindings]]
name = "Read live region 10"
keys = ["FENRIR", "0"]
command = "read_live_region_10"
[[bindings]]
name = "Clear live region 10"
keys = ["FENRIR", "SHIFT", "0"]
command = "clear_live_region_10"
[[bindings]]
name = "Applications"
keys = ["FENRIR", "A"]
command = "applications_menu"