key binding fix
@@ -131,7 +131,7 @@ mode = "i"
[[keymaps]]
key = "esc"
command = "clear_search"
-when = "search_active"
+when = "search_active || search_focus"
[[keymaps]]
key = "ctrl+shift+up"
@@ -293,11 +293,6 @@ mode = "i"
# ------------------------------------ Modal -----------------------------------------
-[[keymaps]]
-key = "esc"
-command = "clear_search"
-when = "!modal_focus"
-
[[keymaps]]
key = "esc"
command = "normal_mode"
