aboutsummaryrefslogtreecommitdiff
path: root/doom.d
diff options
context:
space:
mode:
authororeodave <aryadevchavali1@gmail.com>2019-11-01 02:36:02 +0000
committeroreodave <aryadevchavali1@gmail.com>2019-11-01 02:36:02 +0000
commit18980487f0cf674d94086f52b4ab171cc868b574 (patch)
tree41388d44154feb503106a4e7fe5f16d5cbda39aa /doom.d
parentfa14c618ca6165f0cb544352376baf708d337959 (diff)
downloaddotfiles-18980487f0cf674d94086f52b4ab171cc868b574.tar.gz
dotfiles-18980487f0cf674d94086f52b4ab171cc868b574.tar.bz2
dotfiles-18980487f0cf674d94086f52b4ab171cc868b574.zip
+search config to add libgen to set
Diffstat (limited to 'doom.d')
-rw-r--r--doom.d/config.org9
1 files changed, 9 insertions, 0 deletions
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!