glide: Unbind conflicting keymaps on Gmail
Assisted-by: Claude Opus 4.5 via Claude Code
change srryllqzxurtnxmuzntxloswlsywouwv
commit 0dcd6125b41add33d3e0150ae9c1597e02128135
author Alpha Chen <alpha@kejadlen.dev>
date
parent oqmvmtpt
diff --git a/.config/glide/glide.ts b/.config/glide/glide.ts
index 40295596..d3b7c97d 100644
--- a/.config/glide/glide.ts
+++ b/.config/glide/glide.ts
@@ -22,6 +22,12 @@ glide.unstable.include("tridactyl.glide.ts");
 glide.g.mapleader = "," // too used to using space for scrolling
 glide.buf.keymaps.del("normal", "s"); // use `s` for searching
 
+glide.autocmds.create("UrlEnter", {hostname: "mail.google.com"}, async () => {
+  glide.buf.keymaps.del("normal", "gi");
+  glide.buf.keymaps.del("normal", "e");
+  glide.buf.keymaps.del("normal", "o");
+});
+
 glide.styles.add(`
   .yank-notification {
     position: fixed;