mirror of
https://github.com/khoj-ai/khoj.git
synced 2025-02-17 08:04:21 +00:00
Add section separators to khoj.el for easier code traversal
This commit is contained in:
parent
7516435a0b
commit
44bbc0a417
1 changed files with 7 additions and 6 deletions
|
@ -50,7 +50,7 @@
|
|||
(require 'json)
|
||||
(require 'transient)
|
||||
|
||||
|
||||
|
||||
;; -------------------------
|
||||
;; Khoj Static Configuration
|
||||
;; -------------------------
|
||||
|
@ -84,7 +84,7 @@
|
|||
(const "image")
|
||||
(const "music")))
|
||||
|
||||
|
||||
|
||||
;; --------------------------
|
||||
;; Khoj Dynamic Configuration
|
||||
;; --------------------------
|
||||
|
@ -160,7 +160,7 @@ Use `which-key` if available, else display simple message in echo area"
|
|||
nil t t))
|
||||
(message "%s" (khoj--keybindings-info-message))))
|
||||
|
||||
|
||||
|
||||
;; -----------------------------------------------
|
||||
;; Extract and Render Entries of each Content Type
|
||||
;; -----------------------------------------------
|
||||
|
@ -247,7 +247,7 @@ Use `which-key` if available, else display simple message in echo area"
|
|||
((and (member 'markdown enabled-content-types) (or (equal file-extension "markdown") (equal file-extension "md"))) "markdown")
|
||||
(t khoj-default-content-type))))
|
||||
|
||||
|
||||
|
||||
;; --------------
|
||||
;; Query Khoj API
|
||||
;; --------------
|
||||
|
@ -304,7 +304,7 @@ Render results in BUFFER-NAME."
|
|||
(t (fundamental-mode))))
|
||||
(read-only-mode t)))
|
||||
|
||||
|
||||
|
||||
;; ------------------
|
||||
;; Incremental Search
|
||||
;; ------------------
|
||||
|
@ -379,6 +379,7 @@ Render results in BUFFER-NAME."
|
|||
(read-string khoj--query-prompt))))
|
||||
|
||||
|
||||
|
||||
;; ---------
|
||||
;; Khoj Menu
|
||||
;; ---------
|
||||
|
@ -424,7 +425,7 @@ Render results in BUFFER-NAME."
|
|||
("u" "Update" khoj--update-command)
|
||||
("q" "Quit" transient-quit-one)]])
|
||||
|
||||
|
||||
|
||||
;; ----------
|
||||
;; Entrypoint
|
||||
;; ----------
|
||||
|
|
Loading…
Add table
Reference in a new issue