fix: lint warnings

This commit is contained in:
Tienson Qin
2023-11-13 22:59:34 +08:00
parent 2a62767f34
commit 88acf53303
25 changed files with 6 additions and 143 deletions

View File

@@ -21,7 +21,7 @@
[:td.text-left (t :help/slash-autocomplete)]
[:td.text-right [:code "/"]]]
[:tr
[:td.text-left (t :command.go/search)]
[:td.text-left (t :help/search)]
[:td.text-right [:div.float-right
(shui/shortcut ["mod" "k"] (shui/make-context))]]]
[:tr

View File

@@ -13,7 +13,7 @@
[goog.ui.KeyboardShortcutHandler.EventType :as EventType]
[lambdaisland.glogi :as log]
[goog.functions :refer [debounce]])
(:import [goog.events KeyCodes KeyHandler KeyNames]
(:import [goog.events KeyCodes KeyNames]
[goog.ui KeyboardShortcutHandler]))
(defonce *installed-handlers (atom {}))
@@ -272,42 +272,6 @@
("ctrl" "shift" "alt" "esc") nil
(str " " (name-with-meta e)))))
(defn record! []
{:did-mount
(fn [state]
(let [handler (KeyHandler. js/document)
keystroke (:rum/local state)]
(doseq [id (keys @*installed-handlers)]
(uninstall-shortcut-handler! id))
(events/listen handler "key"
(fn [e]
(.preventDefault e)
(swap! keystroke #(str % (keyname e)))))
(assoc state ::key-record-handler handler)))
:will-unmount
(fn [{:rum/keys [args local action] :as state}]
(let [k (first args)
keystroke (str/trim @local)]
(when (and (= @action :save)
(seq keystroke))
(config-handler/set-config!
:shortcuts
(merge
(:shortcuts (state/get-config))
{k keystroke}))))
(when-let [^js handler (::key-record-handler state)]
(.dispose handler))
;; force re-install shortcut handlers
(js/setTimeout #(refresh!) 500)
(dissoc state ::key-record-handler))})
(defn persist-user-shortcut!
[id binding]
(let [graph-shortcuts (or (:shortcuts (state/get-graph-config)) {})
@@ -326,4 +290,4 @@
;; TODO: exclude current graph config shortcuts
(when (nil? binding)
(config-handler/set-config! :shortcuts (into-shortcuts graph-shortcuts)))
(global-config-handler/set-global-config-kv! :shortcuts (into-shortcuts global-shortcuts)))))
(global-config-handler/set-global-config-kv! :shortcuts (into-shortcuts global-shortcuts)))))

View File

@@ -1,20 +1,13 @@
(ns frontend.modules.shortcut.data-helper
(:require [borkdude.rewrite-edn :as rewrite]
[clojure.set :refer [rename-keys] :as set]
(:require [clojure.set :refer [rename-keys] :as set]
[clojure.string :as str]
[cljs-bean.core :as bean]
[frontend.context.i18n :refer [t]]
[frontend.config :as config]
[frontend.db :as db]
[frontend.handler.file :as file]
[frontend.modules.shortcut.config :as shortcut-config]
[frontend.modules.shortcut.utils :as shortcut-utils]
[frontend.state :as state]
[frontend.util :as util]
[lambdaisland.glogi :as log]
[frontend.handler.repo-config :as repo-config-handler]
[frontend.handler.config :as config-handler])
(:import [goog.ui KeyboardShortcutHandler]))
[lambdaisland.glogi :as log]))
(declare get-group)
@@ -100,10 +93,6 @@
shortcut)
(mapv mod-key)))))
(defn shortcut-cmd
[id]
(get @shortcut-config/*shortcut-cmds id))
(defn shortcut-item
[id]
(get (get-bindings-ids-map) id))
@@ -169,24 +158,6 @@
;; mod key, because that's what the Mac keyboards actually say.
(str/replace tmp "meta" "cmd")))
;; Given the displayed binding, prepare it to be put back into config.edn
(defn binding-for-storage [binding]
(str/replace binding "cmd" "meta"))
(defn remove-shortcut [k]
(let [repo (state/get-current-repo)
path (config/get-repo-config-path)]
(when-let [result (some-> (db/get-file path)
(config-handler/parse-repo-config))]
(when-let [new-content (and (:shortcuts result)
(-> (rewrite/update
result
:shortcuts
#(dissoc (rewrite/sexpr %) k))
(str)))]
(repo-config-handler/set-repo-config-state! repo new-content)
(file/set-file-content! repo path new-content)))))
(defn get-group
"Given shortcut key, return handler group
eg: :editor/new-line -> :shortcut.handler/block-editing-only"
@@ -262,30 +233,6 @@
(= (count target) 1))
(= (first target) (first from))))))))))
(defn potential-conflict? [shortcut-id]
(if-not (shortcut-binding shortcut-id)
false
(let [handler-id (get-group shortcut-id)
shortcut-m (shortcut-map handler-id)
parse-shortcut #(try
(KeyboardShortcutHandler/parseStringShortcut %)
(catch :default e
(js/console.error "[shortcut/parse-error]" (str % " - " (.-message e)))))
bindings (->> (shortcut-binding shortcut-id)
(map mod-key)
(map parse-shortcut)
(map js->clj))
rest-bindings (->> (map key shortcut-m)
(remove #{shortcut-id})
(map shortcut-binding)
(filter vector?)
(mapcat identity)
(map mod-key)
(map parse-shortcut)
(map js->clj))]
(some? (some (fn [b] (some #{b} rest-bindings)) bindings)))))
(defn shortcut-data-by-id [id]
(let [binding (shortcut-binding id)
data (->> (vals @shortcut-config/*config)

View File

@@ -1281,10 +1281,6 @@
(comment
(re-matches (re-pattern (regex-escape "$u^8(d)+w.*[dw]d?")) "$u^8(d)+w.*[dw]d?"))
#?(:cljs
(defn meta-key-name []
(if mac? "Cmd" "Ctrl")))
#?(:cljs
(defn meta-key? [e]
(if mac?

View File

@@ -8,7 +8,6 @@
:help/shortcuts-triggers "Snellers"
:help/shortcut "Kortpad"
:help/slash-autocomplete "Slash outovoltooi"
:help/block-content-autocomplete "Blokkeer inhoud (Oorsprong, kwotasie, navrae ens.) Voltooi outomaties"
:help/reference-autocomplete "Blad verwysing Outovoltooi"
:help/block-reference "Blok verwysing"
:help/open-link-in-sidebar "Maak skakel in kantlys oop"

View File

@@ -193,7 +193,6 @@
:header/toggle-left-sidebar "Linke Seitenleiste umschalten"
:help/about "Über Logseq"
:help/block-content-autocomplete "Blockinhalt (Quelltext, Zitate, Abfragen, etc.) Autovervollständigung"
:help/block-reference "Blockverweis"
:help/blog "Logseq Blog"
:help/bug "Fehlerbericht"
@@ -739,7 +738,6 @@
:command.ui/install-plugins-from-file "Plugins aus plugins.edn installieren"
:command.ui/select-theme-color "Verfügbare Themenfarben auswählen"
:command.ui/toggle-brackets "Umschalten, ob Klammern angezeigt werden sollen"
:command.ui/toggle-cards "Karten umschalten"
:command.ui/toggle-contents "Inhalt in Seitenleiste umschalten"
:command.ui/toggle-document-mode "Dokumentenmodus umschalten"
:command.ui/toggle-help "Hilfe aktivieren"

View File

@@ -110,8 +110,8 @@
:help/shortcuts "Keyboard shortcuts"
:help/shortcuts-triggers "Triggers"
:help/shortcut "Shortcut"
:help/search "Search pages/blocks/commands"
:help/slash-autocomplete "Slash autocomplete"
:help/block-content-autocomplete "Block content autocomplete"
:help/reference-autocomplete "Page reference autocomplete"
:help/block-reference "Block reference"
:help/open-link-in-sidebar "Open link in sidebar"
@@ -358,7 +358,6 @@
:close "Close"
:delete "Delete"
:save "Save"
:reset "Reset"
:type "Type"
:host "Host"
:port "Port"

View File

@@ -57,7 +57,6 @@
:remove-background "Eliminar el fondo"
:remove-heading "Eliminar encabezado"
:remove-orphaned-pages "¿Eliminar páginas huérfanas?"
:reset "Reiniciar"
:save "Guardar"
:settings "Opciones"
:settings-of-plugins "Opciones de Extensiones"
@@ -229,7 +228,6 @@
:command.ui/install-plugins-from-file "Instalar extensiones de plugins.edn"
:command.ui/select-theme-color "Seleccionar temas de colores disponibles"
:command.ui/toggle-brackets "Alternar corchetes"
:command.ui/toggle-cards "Alternar tarjetas"
:command.ui/toggle-contents "Alternar Contenido en barra lateral"
:command.ui/toggle-document-mode "Alternar modo documento"
:command.ui/toggle-help "Alternar ayuda"
@@ -369,7 +367,6 @@
:header/toggle-left-sidebar "Alternar barra lateral izquierda"
:help/about "Acerca de Logseq"
:help/awesome-logseq "Increíble Logseq"
:help/block-content-autocomplete "Autocompletado bloque de contenido (Src, Quote, Query, etc)"
:help/block-reference "Referencia de bloque"
:help/blog "Blog de Logseq"
:help/bug "Reportar un problema"

View File

@@ -13,7 +13,6 @@
:help/shortcuts-triggers "Actions déclenchées"
:help/shortcut "Raccourcis"
:help/slash-autocomplete "Autocomplétion avec Slash"
:help/block-content-autocomplete "Autocomplétion du contenu du Bloc (Src, Quote, Query, etc)"
:help/reference-autocomplete "Autocomplétion des références à une Page"
:help/block-reference "Référence à un Bloc"
:help/open-link-in-sidebar "Ouvrir le lien dans la barre latérale"
@@ -405,7 +404,6 @@
:command.ui/install-plugins-from-file "Installer les extensions depuis plugins.edn"
:command.ui/select-theme-color "Sélectionner les couleurs disponibles du thème"
:command.ui/toggle-brackets "Basculer l'affichage des crochets"
:command.ui/toggle-cards "Basculer l'affichage des cartes"
:command.ui/toggle-contents "Basculer l'affichage du contenu dans la barre latérale"
:command.ui/toggle-left-sidebar "Basculer la barre latérale gauche"
:command.ui/toggle-settings "Basculer l'affichage des réglages"
@@ -755,7 +753,6 @@
:settings-page/preferred-pasting-file-hint "Lorsqu'activé, coller une image d'Internet…"
:settings-page/revision "Révision :"
:settings-page/show-full-blocks "Montrer toutes les lignes d'une référence de bloc"
:reset "Annuler"
:command.window/close "Fermer la fenêtre"
:file-sync/connectivity-testing-failed "Le test de connexion réseau a échoué. Veuillez vérifier vos paramètres réseau. URL de test : "
:handbook/close "Fermer"

View File

@@ -103,7 +103,6 @@
:help/shortcuts-triggers "Pemicu"
:help/shortcut "Pintasan"
:help/slash-autocomplete "Pelengkapan otomatis garis miring"
:help/block-content-autocomplete "Pelengkapan otomatis konten blok"
:help/reference-autocomplete "Pelengkapan otomatis referensi halaman"
:help/block-reference "Blok referensi"
:help/open-link-in-sidebar "Buka tautan di bilah sisi"
@@ -348,7 +347,6 @@
:close "Tutup"
:delete "Hapus"
:save "Simpan"
:reset "Atur ulang"
:type "Jenis"
:host "Host"
:port "Port"
@@ -766,7 +764,6 @@
:command.ui/install-plugins-from-file "Pasang plugin dari plugins.edn"
:command.ui/select-theme-color "Pilih warna tema yang tersedia"
:command.ui/toggle-brackets "Alihkan tampilan tanda kurung"
:command.ui/toggle-cards "Alihkan kartu"
:command.ui/toggle-contents "Alihkan Konten di bilah samping"
:command.ui/toggle-document-mode "Alihkan mode dokumen"
:command.ui/toggle-help "Alihkan bantuan"

View File

@@ -21,7 +21,6 @@
:help/shortcuts-triggers "Attivazione delle scorciatoie"
:help/shortcut "Scorciatoia"
:help/slash-autocomplete "Barra di completamento automatico"
:help/block-content-autocomplete "Autocompletamento del contenuto di blocco"
:help/reference-autocomplete "Autocompletamente del riferimento di pagina"
:help/block-reference "Riferimento di blocco"
:help/open-link-in-sidebar "Apri il link nella barra laterale"
@@ -318,7 +317,6 @@
:command.ui/select-theme-color "Seleziona i colori del tema disponibili"
:command.ui/goto-plugins "Vai alla dashboard dei plugin"
:command.editor/toggle-open-blocks "Attiva/disattiva i blocchi aperti (comprimi o espandi tutti i blocchi)"
:command.ui/toggle-cards "Attiva/disattiva le carte"
:command.git/commit "Git messaggio di commit"
:shortcut.category/basics "Nozioni di base"
:shortcut.category/formatting "Formattazione"

View File

@@ -103,7 +103,6 @@
:help/shortcuts-triggers "トリガー"
:help/shortcut "ショートカット"
:help/slash-autocomplete "スラッシュで自動補完"
:help/block-content-autocomplete "ブロックコンテンツの自動補完"
:help/reference-autocomplete "ページ参照の自動補完"
:help/block-reference "ブロック参照"
:help/open-link-in-sidebar "サイドバーでリンクを開く"
@@ -780,7 +779,6 @@
:command.ui/goto-plugins "プラグインへ"
:command.ui/install-plugins-from-file "プラグインをplugins.ednからインストール"
:command.editor/toggle-open-blocks "ブロック展開の切り替え(全てのブロックを折り畳む/展開する)"
:command.ui/toggle-cards "カードの切り替え"
:command.ui/clear-all-notifications "通知をすべてクリア"
:command.git/commit "Git コミットする"
:command.dev/show-block-data "(開発) ブロックのデータを表示"

View File

@@ -22,7 +22,6 @@
:help/shortcuts-triggers "트리거"
:help/shortcut "단축키"
:help/slash-autocomplete "Slash 자동 완성"
:help/block-content-autocomplete "블록 콘텐츠 자동 완성"
:help/reference-autocomplete "페이지 레퍼런스 자동 완성"
:help/block-reference "블록 레퍼런스"
:help/open-link-in-sidebar "사이드바에서 링크 열기"
@@ -386,7 +385,6 @@
:command.editor/open-edit "선택한 블록 편집"
:command.editor/delete-selection "선택한 블록 삭제"
:command.editor/toggle-open-blocks "열린 블록 토글"
:command.ui/toggle-cards "플래시 카드 토글"
:command.ui/toggle-left-sidebar "왼쪽 사이드바 토글"
:command.pdf/next-page "다음 페이지"
:command.pdf/previous-page "이전 페이지"

View File

@@ -23,7 +23,6 @@
:help/shortcuts-triggers "Utløsere"
:help/shortcut "Snarvei"
:help/slash-autocomplete "Skråstrek Autofullføring"
:help/block-content-autocomplete "Blokkinnhold (Src, Quote, Query, etc) Autofullføring"
:help/reference-autocomplete "Sidereferanse Autofullføring"
:help/block-reference "Blokkreferanse"
:help/forum-community "Forum-samfunn"
@@ -448,7 +447,6 @@
:command.sidebar/open-today-page "Åpne dagens side i høyre sidestolpe"
:command.ui/goto-plugins "Gå til dashbord for utvidelser"
:command.ui/select-theme-color "Velg tilgjengelige temafarger"
:command.ui/toggle-cards "Veksle kort"
:command.dev/show-block-ast "(Dev) Vis blokk AST"
:command.dev/show-block-data "(Dev) Vis blokk data"
:command.dev/show-page-ast "(Dev) Vis side AST"
@@ -774,7 +772,6 @@
:right-side-bar/pane-expand-all "Ekspander alle"
:right-side-bar/pane-more "Mer"
:right-side-bar/pane-open-as-page "Åpne som side"
:reset "Nullstill"
:command.window/close "Lukk vindu"
:file-sync/connectivity-testing-failed "Test av nettverksforbindelse feilet. Vennligst sjekk dine nettverksinnstillinger. Test URLer: "
:keymap/all "Alle"

View File

@@ -80,7 +80,6 @@
:graph/save-success "Opslaan succesvol"
:help/about "Over Logseq"
:help/block-content-autocomplete "Blokinhoud (brontekst, citaten, zoekopdrachten, enz.) autocomplete"
:help/block-reference "Blok referentie"
:help/bug "Rapporteer een fout"
:help/changelog "Verander logboek"
@@ -316,7 +315,6 @@
:command.ui/goto-plugins "Ga naar plugins dashboard"
:command.ui/select-theme-color "Selecteer beschikbare themakleuren"
:command.ui/toggle-brackets "Toggle tussen het weergeven van beugels"
:command.ui/toggle-cards "Toggle kaarten"
:command.ui/toggle-contents "Toggle inhoud in zijbalk"
:command.ui/toggle-document-mode "Schakel tussen documentmodus"
:command.ui/toggle-left-sidebar "Toggle linker zijbalk"

View File

@@ -23,7 +23,6 @@
:help/shortcuts-triggers "Akcja"
:help/shortcut "Skrót"
:help/slash-autocomplete "Autouzupełnianie poleceń /"
:help/block-content-autocomplete "Autouzupełnianie treści bloku"
:help/reference-autocomplete "Autouzupełnianie referencji bloku"
:help/block-reference "Referencja bloku"
:help/open-link-in-sidebar "Otwórz link w panelu bocznym"
@@ -329,5 +328,4 @@
:command.editor/toggle-open-blocks "Zwiń / Rozwiń otwarte bloki"
:command.ui/toggle-wide-mode "Włącz / wyłącz tryb szeroki"
:command.ui/goto-plugins "Przejdź do dashboardu pluginów"
:command.ui/toggle-cards "Pokaż / Ukryj karty"
:command.git/commit "Wykonaj GIT COMMIT z wiadomością"}

View File

@@ -110,7 +110,6 @@
:help/shortcuts-triggers "Gatilhos"
:help/shortcut "Atalho"
:help/slash-autocomplete "Barra de preenchimento automático"
:help/block-content-autocomplete "Bloquear preenchimento automático de conteúdo"
:help/reference-autocomplete "Preenchimento automático de referência de página"
:help/block-reference "Referência de bloco"
:help/open-link-in-sidebar "Abrir link na barra lateral"
@@ -352,7 +351,6 @@
:close "Fechar"
:delete "Excluir"
:save "Salvar"
:reset "Redefinir"
:type "Tipo"
:host "Servidor"
:port "Porta"

View File

@@ -30,7 +30,6 @@
:help/shortcuts-triggers "Iniciadores"
:help/shortcut "Atalho"
:help/slash-autocomplete "Autocompletar com barra"
:help/block-content-autocomplete "Autocompletar conteúdo de bloco"
:help/reference-autocomplete "Autocompletar referência de página"
:help/block-reference "Referência de bloco"
:help/open-link-in-sidebar "Abrir ligação na barra lateral"
@@ -424,7 +423,6 @@
:command.sidebar/clear "Limpar tudo da barra lateral direita"
:command.sidebar/open-today-page "Abrir a página de hoje na barra lateral direita"
:command.ui/select-theme-color "Selecionar as cores do tema disponível"
:command.ui/toggle-cards "Trocar cartões"
:command.ui/toggle-left-sidebar "Trocar barra lateral esquerda"
:command.graph/save "Guardar grafo atual no computador"
:command.misc/copy "Copiar (copiar seleção ou referência do bloco)"

View File

@@ -38,7 +38,6 @@
:help/shortcuts-triggers "Действия"
:help/shortcut "Горячие клавиши"
:help/slash-autocomplete "Слэш - автодополнение"
:help/block-content-autocomplete "Блок контента - автодополнение"
:help/reference-autocomplete "Автодополнение ссылок на страницу"
:help/block-reference "Ссылка на блок"
:help/open-link-in-sidebar "Открыть ссылку на боковой панели"
@@ -637,7 +636,6 @@
:command.ui/goto-plugins "Перейдите в панель управления расширениями"
:command.ui/install-plugins-from-file "Установить расширения из plugins.edn"
:command.editor/toggle-open-blocks "Переключить открытые блоки (свернуть или развернуть все блоки)"
:command.ui/toggle-cards "Переключить карточки"
:command.ui/clear-all-notifications "Очистить все уведомления"
:command.git/commit "Создать git-коммит с сообщением"
:command.dev/show-block-data "(Dev) Показать данные блока"

View File

@@ -31,7 +31,6 @@
:help/shortcuts-triggers "Akcie"
:help/shortcut "Skratky"
:help/slash-autocomplete "Automatické dopĺňanie s lomítkom"
:help/block-content-autocomplete "Automatické dopĺňanie obsahu bloku"
:help/reference-autocomplete "Automatické dopĺňanie referencie na stránku"
:help/block-reference "Referencia na blok"
:help/open-link-in-sidebar "Otvoriť odkaz v bočnom paneli"
@@ -426,5 +425,4 @@
:command.ui/goto-plugins "Prejsť na zoznam doplnkov"
:command.ui/install-plugins-from-file "Inštalovať doplnky z plugins.edn"
:command.editor/toggle-open-blocks "Prepnúť otvorené bloky (zbaliť alebo rozbaliť všetky bloky)"
:command.ui/toggle-cards "Zobraziť/Skryť karty"
:command.git/commit "Spusiť príkaz git commit so správou"}

View File

@@ -103,7 +103,6 @@
:help/shortcuts-triggers "Tetikleyiciler"
:help/shortcut "Kısayol"
:help/slash-autocomplete "Eğik çizgi otomatik tamamlama"
:help/block-content-autocomplete "Blok içeriği otomatik tamamlama"
:help/reference-autocomplete "Sayfa referansı otomatik tamamlama"
:help/block-reference "Blok referansı"
:help/open-link-in-sidebar "Bağlantıyı kenar çubuğunda aç"
@@ -348,7 +347,6 @@
:close "Kapat"
:delete "Sil"
:save "Kaydet"
:reset "Sıfırla"
:type "Tür"
:host "Ana Bilgisayar"
:port "Bağlantı Noktası"
@@ -791,7 +789,6 @@
:command.ui/goto-plugins "Eklentiler panosuna git"
:command.ui/install-plugins-from-file "Eklentileri plugins.edn dosyasından yükleyin"
:command.editor/toggle-open-blocks "Açık blokları kapat/aç (tüm blokları daralt veya genişlet)"
:command.ui/toggle-cards "Kartları aç/kapat"
:command.ui/clear-all-notifications "Tüm bildirimleri temizle"
:command.git/commit "Mesajlı git commit oluştur"
:command.editor/select-parent "Üst bloğu seçin"

View File

@@ -33,7 +33,6 @@
:help/shortcuts-triggers "Тригер"
:help/shortcut "Ярлик"
:help/slash-autocomplete "Автозаповнення слешу"
:help/block-content-autocomplete "Автозаповнення вмісту блоку"
:help/reference-autocomplete "Автозаповнення посилання на сторінку"
:help/block-reference "Посилання на блок"
:help/open-link-in-sidebar "Відкрити посилання у бічній панелі"
@@ -498,7 +497,6 @@
:command.ui/goto-plugins "Перейти до списку плагінів"
:command.ui/install-plugins-from-file "Встановити плагіни з plugins.edn"
:command.editor/toggle-open-blocks "Згорнути/Розгорнути всі блоки"
:command.ui/toggle-cards "Показати/Сховати карти"
:command.git/commit "Виконати команду git commit із повідомленням"
:command.ui/clear-all-notifications "Очистити всі сповіщення"
:command.dev/show-block-ast "(Dev) Показати блок AST"

View File

@@ -53,7 +53,6 @@
:help/shortcut "快捷键"
:help/shortcut-page-title "完整快捷键"
:help/slash-autocomplete "Slash 自动提示"
:help/block-content-autocomplete "块内容 (Src, Quote, Query 等) 自动完成"
:help/reference-autocomplete "页面引用自动补全"
:help/block-reference "块引用"
:help/open-link-in-sidebar "在侧边栏打开"
@@ -283,7 +282,6 @@
:close "关闭"
:delete "删除"
:save "保存"
:reset "重设"
:type "类型"
:host "主机"
:port "端口"
@@ -544,7 +542,6 @@
:command.sidebar/open-today-page "在侧边栏打开今日"
:command.ui/goto-plugins "插件"
:command.ui/select-theme-color "选择皮肤颜色"
:command.ui/toggle-cards "切换卡片"
:command.ui/toggle-left-sidebar "切换左侧边栏"
:command.editor/indent "缩进块标签"
:command.editor/outdent "取消缩进块"

View File

@@ -31,7 +31,6 @@
:help/shortcuts-triggers "觸發"
:help/shortcut "快捷鍵"
:help/slash-autocomplete "Slash 自動"
:help/block-content-autocomplete "區塊內容自動完成"
:help/reference-autocomplete "頁面引用自動完成"
:help/block-reference "區塊引用"
:help/open-link-in-sidebar "在側邊欄開啟連結r"