#textdomain wesnoth-editor # Editor key definitions #define IF_APPLE_CMD_ELSE_CTRL #ifdef APPLE cmd=yes #else ctrl=yes #endif #enddef [hotkey] command="editor-quit-to-desktop" key="q" shift=yes {IF_APPLE_CMD_ELSE_CTRL} [/hotkey] [hotkey] command="editor-partial-undo" key="z" {IF_APPLE_CMD_ELSE_CTRL} [/hotkey] [hotkey] command="editor-map-save" key="s" {IF_APPLE_CMD_ELSE_CTRL} [/hotkey] [hotkey] command="editor-map-save-as" key="s" {IF_APPLE_CMD_ELSE_CTRL} shift=yes [/hotkey] [hotkey] command="editor-map-new" key="n" {IF_APPLE_CMD_ELSE_CTRL} [/hotkey] [hotkey] command="editor-map-load" key="o" {IF_APPLE_CMD_ELSE_CTRL} [/hotkey] [hotkey] command="editor-terrain-palette-swap" key="x" [/hotkey] [hotkey] command="editor-cut" key="x" {IF_APPLE_CMD_ELSE_CTRL} [/hotkey] [hotkey] command="editor-copy" key="c" {IF_APPLE_CMD_ELSE_CTRL} [/hotkey] [hotkey] command="editor-paste" key="v" {IF_APPLE_CMD_ELSE_CTRL} [/hotkey] [hotkey] command="editor-select-all" key="a" {IF_APPLE_CMD_ELSE_CTRL} [/hotkey] [hotkey] command="editor-select-inverse" key="i" {IF_APPLE_CMD_ELSE_CTRL} [/hotkey] [hotkey] command="editor-clipboard-rotate-cw" key="r" {IF_APPLE_CMD_ELSE_CTRL} [/hotkey] [hotkey] command="editor-clipboard-rotate-ccw" key="r" shift=yes {IF_APPLE_CMD_ELSE_CTRL} [/hotkey] [hotkey] command="editor-tool-next" key="n" [/hotkey] [hotkey] command="editor-tool-paint" key="d" [/hotkey] [hotkey] command="editor-tool-fill" key="f" [/hotkey] [hotkey] command="editor-tool-select" key="s" [/hotkey] [hotkey] command="editor-brush-next" key="b" [/hotkey] [hotkey] command="editor-brush-default" key="b" alt=yes [/hotkey] [hotkey] command="editor-refresh" key="e" {IF_APPLE_CMD_ELSE_CTRL} [/hotkey] [hotkey] command="editor-update-transitions" key="t" [/hotkey] [hotkey] command="editor-update-transitions" key="t" [/hotkey] [hotkey] command="editor-draw-coordinates" key="o" [/hotkey] [hotkey] command="editor-draw-terrain-codes" key="i" [/hotkey] #undef IF_APPLE_CMD_ELSE_CTRL