Step 1. Go to Code Editor
Step 2. Click Add a new snippet inside the Snippets folder
Step 3. Set the file name as easysearch and click Done

Step 4. An empty snippet will be created and opened in the editor. Copy and paste the following code into the snippet you just created:
Step 5. Click Save.