update(qpdfview): assign Ctrl++/- for zoomIn/Out

This commit is contained in:
qwjyh 2025-04-29 17:13:16 +09:00
parent 2f81ec6035
commit 514ab0c884

View file

@ -68,6 +68,8 @@ shortcut_config["General"]["findPrevious"] = "Ctrl+Shift+G, Shift+Return"
shortcut_config["General"]["jumpToPage"] = "Ctrl+J, G" shortcut_config["General"]["jumpToPage"] = "Ctrl+J, G"
shortcut_config["General"]["nextPage"] = "Space, N" shortcut_config["General"]["nextPage"] = "Space, N"
shortcut_config["General"]["previousPage"] = "Backspace, P" shortcut_config["General"]["previousPage"] = "Backspace, P"
shortcut_config["General"]["zoomIn"] = "Ctrl+Up, Ctrl++"
shortcut_config["General"]["zoomOut"] = "Ctrl+Down, Ctrl+-"
with open(QPDFVIEW_CONFIG_SHORTCUTS, "w") as file: with open(QPDFVIEW_CONFIG_SHORTCUTS, "w") as file:
shortcut_config.write(file, space_around_delimiters=False) shortcut_config.write(file, space_around_delimiters=False)