diff --git a/site/src/editor/mod.rs b/site/src/editor/mod.rs index d4a18ab87..de81292ef 100644 --- a/site/src/editor/mod.rs +++ b/site/src/editor/mod.rs @@ -688,7 +688,7 @@ pub fn Editor<'a>( }); } // Handle open delimiters - "(" | "[" | "{" if !event.meta_key() => { + "(" | "[" | "{" if !os_ctrl(event) => { // Surround the selected text with delimiters let (open, close) = match key { "\"" => ('"', '"'),