A simple CPU rendered GUI IDE experience.
bendn 6 weeks ago
parent 4b412b4 · commit 11996dc
-rw-r--r--src/edi.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/edi.rs b/src/edi.rs
index 5cb395f..c729d9f 100644
--- a/src/edi.rs
+++ b/src/edi.rs
@@ -2045,6 +2045,10 @@ pub fn handle2<'a>(
text.right();
text.backspace()
}
+ Character(x) if x == "a" && alt() => text.left(),
+ Character(x) if x == "w" && alt() => text.up(),
+ Character(x) if x == "s" && alt() => text.down(),
+ Character(x) if x == "d" && alt() => text.right(),
Named(ArrowLeft) if ctrl() => text.word_left(),
Named(ArrowRight) if ctrl() => text.word_right(),
Named(ArrowLeft) => text.left(),