From 3ece99b983a973c6890d1e4dc409dc8cb90a4734 Mon Sep 17 00:00:00 2001 From: Bailey Furrow Date: Wed, 20 Sep 2023 00:36:51 -0400 Subject: [PATCH] update vim search --- vim_search_site.js | 1 + 1 file changed, 1 insertion(+) diff --git a/vim_search_site.js b/vim_search_site.js index de448a1..46730c9 100644 --- a/vim_search_site.js +++ b/vim_search_site.js @@ -15,6 +15,7 @@ function vimSiteSearch(searchID) { console.log('key press'); console.log(event.key == '/' && document.activeElement.tagName != 'INPUT'); if (event.key == '/' && document.activeElement.tagName != 'INPUT') { + SEARCH.select(); SEARCH.focus(); } }