diff --git a/env-bootstrap/src/lib.rs b/env-bootstrap/src/lib.rs index 821143171..9799cc7a7 100644 --- a/env-bootstrap/src/lib.rs +++ b/env-bootstrap/src/lib.rs @@ -145,4 +145,9 @@ pub fn bootstrap() { set_lang_from_locale(); fixup_appimage(); + + // Remove this env var to avoid weirdness with some vim configurations. + // wezterm never sets WINDOWID and we don't want to inherit it from a + // parent process. + std::env::remove_var("WINDOWID"); }