diff --git a/frontend/src/views/files/Editor.vue b/frontend/src/views/files/Editor.vue
index 56d34065..7b8aace3 100644
--- a/frontend/src/views/files/Editor.vue
+++ b/frontend/src/views/files/Editor.vue
@@ -110,6 +110,10 @@ export default {
       this.$router.push({ path: uri });
     },
     keyEvent(event) {
+      if (event.code === "Escape") {
+        this.close();
+      }
+
       if (!event.ctrlKey && !event.metaKey) {
         return;
       }