From 18980487f0cf674d94086f52b4ab171cc868b574 Mon Sep 17 00:00:00 2001 From: oreodave Date: Fri, 1 Nov 2019 02:36:02 +0000 Subject: +search config to add libgen to set --- doom.d/config.org | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doom.d/config.org') diff --git a/doom.d/config.org b/doom.d/config.org index e66a837..97b8888 100644 --- a/doom.d/config.org +++ b/doom.d/config.org @@ -320,6 +320,15 @@ each of the unit tests ran." I like using the org dispatch facilities more than the default export keybinds in Doom, so I need this binding ** Meta/Custom other stuff +*** Search +#+BEGIN_SRC elisp +(setq +lookup-provider-url-alist (append +lookup-provider-url-alist '(("Libgen" . "https://libgen.me/search/all?search=%s")))) +#+END_SRC + +Doom has an amazing little function to do searches from inside Emacs alone. +Given a provider, it'll send some query via formatting the provider URL with the +query text, and open it on a default browser. I want to add some more items to +this provider set. *** Code #+BEGIN_SRC elisp (map! -- cgit v1.2.3-13-gbd6f