Add Eagle Icon for Khoj to Web, Emacs Interfaces and Readme

This commit is contained in:
Debanjum Singh Solanky
2022-07-29 17:50:29 +04:00
parent 8290ef2a60
commit 02ca2c05a1
3 changed files with 4 additions and 5 deletions

View File

@@ -63,13 +63,12 @@
(defvar khoj--minibuffer-window nil
"Minibuffer window being used by user to enter query.")
(defconst khoj--query-prompt "Khoj: "
(defconst khoj--query-prompt "🦅Khoj: "
"Query prompt shown to user in the minibuffer.")
(defvar khoj--search-type "org"
"The type of content to perform search on.")
(defun khoj--extract-entries-as-markdown (json-response query)
"Convert json response from API to markdown entries"
;; remove leading (, ) or SPC from extracted entries string
@@ -237,7 +236,7 @@
;;;###autoload
(defun khoj-simple (query)
"Natural Search for QUERY in your personal notes, transactions, music and images using Khoj"
(interactive "sQuery: ")
(interactive "s🦅Khoj: ")
(let* ((rerank "true")
(default-type (khoj--buffer-name-to-search-type (buffer-name)))
(search-type (completing-read "Type: " '("org" "markdown" "ledger" "music" "image") nil t default-type))