From 983832f8b0fab43ca0bf3df6199a4834b46910ef Mon Sep 17 00:00:00 2001 From: Nimaoth Date: Sun, 7 Jan 2024 17:12:20 +0100 Subject: [PATCH] switch keybindings for z and y (fixes #8) --- config/absytree_config_wasm.wasm | Bin 892061 -> 892061 bytes config/default_config.nim | 4 ++-- config/keybindings_normal.nim | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/config/absytree_config_wasm.wasm b/config/absytree_config_wasm.wasm index c7b1c0fad974c4d8b498161e83d48bc80b5e1872..c81f25a738e8c27c6ca4698484169c5b68fc357b 100755 GIT binary patch delta 73 zcmbQc(`@cevxXMN7N!>F7M2#)7Pc1l7LF~P^?Hm|(;M_S#ThHN&(P!4kAidCA9Qd6 RF&7YX12NC`2OYe7g#oOm8tec7 delta 73 zcmbQc(`@cevxXMN7N!>F7M2#)7Pc1l7LF~P^?Hnz(;M_S#Tl!%&(P!4kAidCA9Qd6 RF&7YX12NC`2OYe7g#oOY8tec7 diff --git a/config/default_config.nim b/config/default_config.nim index 83bdeb1a..1d8c56ab 100644 --- a/config/default_config.nim +++ b/config/default_config.nim @@ -244,8 +244,8 @@ proc loadDefaultKeybindings*(clearExisting: bool = false) = addCommand("editor.model", "", "move-cursor-line-start-inline", true) addCommand("editor.model", "", "move-cursor-line-end-inline", true) - addCommand("editor.model", "", "undo") - addCommand("editor.model", "", "redo") + addCommand("editor.model", "", "undo") + addCommand("editor.model", "", "redo") addCommand("editor.model", "", "replace-left") addCommand("editor.model", "", "replace-right") addCommand("editor.model", "", "insert-text-at-cursor", " ") diff --git a/config/keybindings_normal.nim b/config/keybindings_normal.nim index 219a0fae..b67a3b34 100644 --- a/config/keybindings_normal.nim +++ b/config/keybindings_normal.nim @@ -60,8 +60,8 @@ proc loadNormalKeybindings*() {.scriptActionWasmNims("load-normal-keybindings"). addTextCommand "", "", "select-next" addTextCommand "", "", "select-next" addTextCommand "", "", "invert-selection" - addTextCommand "", "", "undo" - addTextCommand "", "", "redo" + addTextCommand "", "", "undo" + addTextCommand "", "", "redo" addTextCommand "", "", "copy" addTextCommand "", "", "paste" addTextCommand "", "", "indent" @@ -144,8 +144,8 @@ proc loadNormalKeybindings*() {.scriptActionWasmNims("load-normal-keybindings"). addCommand("editor.model", "", "move-cursor-line-start-inline", true) addCommand("editor.model", "", "move-cursor-line-end-inline", true) - addCommand("editor.model", "", "undo") - addCommand("editor.model", "", "redo") + addCommand("editor.model", "", "undo") + addCommand("editor.model", "", "redo") addCommand("editor.model", "", "copy-node") addCommand("editor.model", "", "paste-node")