Change how +lookup/online populates initial input

If no selection is active, there is no initial input.
If selection is active, use the selection.

Also remove helm-google package, as the helm functionality is provided
by the core helm package already (and actually works).
This commit is contained in:
Henrik Lissner 2019-12-29 19:21:09 -05:00
parent b63ce98731
commit c57aff9b81
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
4 changed files with 42 additions and 14 deletions

View file

@ -243,7 +243,8 @@ evil-ex-specific constructs, so we disable it solely in evil-ex."
("L" (lambda (path) (with-ivy-window (insert (format "[[%s]]" path))))
"Insert absolute org-link")))
;; `counsel-search'
;; `counsel-search': use normal page for displaying results, so that we see
;; custom ddg themes (if one is set).
(setf (nth 1 (alist-get 'ddg counsel-search-engines-alist))
"https://duckduckgo.com/?q=")