diff --git a/README.md b/README.md index 82b0a7a..566fc27 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,37 @@ content ... "packing list" is indexed and ranged the same as "# packing list". Note that "Aka:" isn't case or colon sensitive. +## Fork Installation + +Ensure the original Omnisearch plugin is installed, see instructions below. + +Download main.js into your `.obsidian/plugins/omnisearch` directory, example: + +``` +$ cd ~/notes/.obsidian/plugins/omnisearch +$ mv main.js main.js.bak +$ wget https://raw.githubusercontent.com/tannercollin/obsidian-tannersearch/refs/heads/master/dist/main.js +``` + +In Obsidian, open Settings > Community Plugings. Disable and enable Omnisearch. + +Open Settings > Omnisearch. Scroll to bottom. Click "Clear cache" data. + +Restart Obsidian. + +## Building Fork + +If you'd rather build the fork yourself: + +``` +$ git clone https://github.com/tannercollin/obsidian-tannersearch.git +$ cd obsidian-tannersearch/ +$ npm install --legacy-peer-deps +$ npm run build +``` + +Then copy `dist/main.js` as above. + # Original README