A simple CPU rendered GUI IDE experience.
Diffstat (limited to 'src/edi/st.rs')
-rw-r--r--src/edi/st.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/edi/st.rs b/src/edi/st.rs
index 11e3cca..c6fbdbb 100644
--- a/src/edi/st.rs
+++ b/src/edi/st.rs
@@ -52,6 +52,7 @@ Default => {
K(Key::Character(x) if x == "`" && ctrl()) => _ [SpawnTerminal],
K(Key::Character(y) if y == "/" && ctrl()) => Default [Comment(State => State::Default)],
K(Key::Character(x) if x == "p" && ctrl()) => Command(Commands => Commands::default()),
+ K(Key::Named(Backspace) if alt()) => _ [DeleteBracketPair],
K(Key::Named(F1)) => Procure((default(), InputRequest::RenameSymbol)),
K(Key::Named(k @ (ArrowUp | ArrowDown)) if alt()) => _ [InsertCursor(Direction => {
if k == ArrowUp {Direction::Above} else { Direction::Below }