Skip to content

Commit

Permalink
update vim search
Browse files Browse the repository at this point in the history
  • Loading branch information
BaileyFurrow committed Sep 20, 2023
1 parent fe0ec04 commit 3ece99b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vim_search_site.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}
Expand Down

0 comments on commit 3ece99b

Please sign in to comment.