1774767884
This commit is contained in:
Vendored
-1
@@ -1,6 +1,5 @@
|
|||||||
[
|
[
|
||||||
"update-relative-links",
|
"update-relative-links",
|
||||||
"quickadd",
|
|
||||||
"calendar",
|
"calendar",
|
||||||
"oz-clear-unused-images",
|
"oz-clear-unused-images",
|
||||||
"obsidian-excalidraw-plugin",
|
"obsidian-excalidraw-plugin",
|
||||||
|
|||||||
Vendored
+8
-2
@@ -41,11 +41,17 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"editor:toggle-comments": [],
|
"editor:toggle-comments": [],
|
||||||
"quickadd:runQuickAdd": [
|
"workspace:close-window": [],
|
||||||
|
"templater-obsidian:create-attachment/templates/timestamp.md": [
|
||||||
{
|
{
|
||||||
"modifiers": [],
|
"modifiers": [],
|
||||||
"key": "F1"
|
"key": "F1"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"workspace:close-window": []
|
"templater-obsidian:create-attachment/templates/日常记录-闪念笔记.md": [
|
||||||
|
{
|
||||||
|
"modifiers": [],
|
||||||
|
"key": "F1"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
Vendored
-214
@@ -1,214 +0,0 @@
|
|||||||
{
|
|
||||||
"choices": [
|
|
||||||
{
|
|
||||||
"id": "0462f0ba-4349-4531-b1a0-6634e5fc146f",
|
|
||||||
"name": "日常记录-闪念笔记",
|
|
||||||
"type": "Template",
|
|
||||||
"command": false,
|
|
||||||
"templatePath": "attachment/templates/日常记录-闪念笔记.md",
|
|
||||||
"fileNameFormat": {
|
|
||||||
"enabled": true,
|
|
||||||
"format": "{{DATE:YYYYMMDDHHmmSS}}"
|
|
||||||
},
|
|
||||||
"folder": {
|
|
||||||
"enabled": true,
|
|
||||||
"folders": [
|
|
||||||
"000-Inbox"
|
|
||||||
],
|
|
||||||
"chooseWhenCreatingNote": false,
|
|
||||||
"createInSameFolderAsActiveFile": false,
|
|
||||||
"chooseFromSubfolders": false
|
|
||||||
},
|
|
||||||
"appendLink": false,
|
|
||||||
"openFileInNewTab": {
|
|
||||||
"enabled": true,
|
|
||||||
"direction": "vertical",
|
|
||||||
"focus": true
|
|
||||||
},
|
|
||||||
"openFile": true,
|
|
||||||
"openFileInMode": "default",
|
|
||||||
"fileExistsMode": "Increment the file name",
|
|
||||||
"setFileExistsBehavior": false,
|
|
||||||
"fileOpening": {
|
|
||||||
"location": "tab",
|
|
||||||
"direction": "vertical",
|
|
||||||
"focus": true,
|
|
||||||
"mode": "default"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "eccc9792-8b8b-42bd-a20d-8c061ece98cf",
|
|
||||||
"name": "移动杭研-问题记录",
|
|
||||||
"type": "Template",
|
|
||||||
"command": false,
|
|
||||||
"templatePath": "attachment/templates/移动杭研-问题记录.md",
|
|
||||||
"fileNameFormat": {
|
|
||||||
"enabled": true,
|
|
||||||
"format": "{{DATE:MMDD}}-{{value}}"
|
|
||||||
},
|
|
||||||
"folder": {
|
|
||||||
"enabled": true,
|
|
||||||
"folders": [
|
|
||||||
"000-Inbox"
|
|
||||||
],
|
|
||||||
"chooseWhenCreatingNote": false,
|
|
||||||
"createInSameFolderAsActiveFile": false,
|
|
||||||
"chooseFromSubfolders": false
|
|
||||||
},
|
|
||||||
"appendLink": false,
|
|
||||||
"openFileInNewTab": {
|
|
||||||
"enabled": true,
|
|
||||||
"direction": "vertical",
|
|
||||||
"focus": true
|
|
||||||
},
|
|
||||||
"openFile": true,
|
|
||||||
"openFileInMode": "default",
|
|
||||||
"fileExistsMode": "Increment the file name",
|
|
||||||
"setFileExistsBehavior": false,
|
|
||||||
"fileOpening": {
|
|
||||||
"location": "split",
|
|
||||||
"direction": "vertical",
|
|
||||||
"focus": true,
|
|
||||||
"mode": "default"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "4ad23b51-d9fd-445e-aed8-f332e99f2350",
|
|
||||||
"name": "移动杭研-开发笔记",
|
|
||||||
"type": "Template",
|
|
||||||
"command": false,
|
|
||||||
"templatePath": "attachment/templates/移动杭研-开发笔记.md",
|
|
||||||
"fileNameFormat": {
|
|
||||||
"enabled": true,
|
|
||||||
"format": "开发笔记"
|
|
||||||
},
|
|
||||||
"folder": {
|
|
||||||
"enabled": true,
|
|
||||||
"folders": [
|
|
||||||
"000-Inbox"
|
|
||||||
],
|
|
||||||
"chooseWhenCreatingNote": false,
|
|
||||||
"createInSameFolderAsActiveFile": false,
|
|
||||||
"chooseFromSubfolders": false
|
|
||||||
},
|
|
||||||
"appendLink": false,
|
|
||||||
"openFileInNewTab": {
|
|
||||||
"enabled": true,
|
|
||||||
"direction": "vertical",
|
|
||||||
"focus": true
|
|
||||||
},
|
|
||||||
"openFile": true,
|
|
||||||
"openFileInMode": "default",
|
|
||||||
"fileExistsMode": "Nothing",
|
|
||||||
"setFileExistsBehavior": true,
|
|
||||||
"fileOpening": {
|
|
||||||
"location": "split",
|
|
||||||
"direction": "vertical",
|
|
||||||
"focus": true,
|
|
||||||
"mode": "default"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "83f6f73d-a391-4096-b07f-a9626f10980e",
|
|
||||||
"name": "openTerminal",
|
|
||||||
"type": "Macro",
|
|
||||||
"command": false,
|
|
||||||
"runOnStartup": false,
|
|
||||||
"macro": {
|
|
||||||
"name": "openTerminal",
|
|
||||||
"id": "2417c310-3ca2-4a95-9962-761529241e84",
|
|
||||||
"commands": [
|
|
||||||
{
|
|
||||||
"name": "openTerminal",
|
|
||||||
"type": "UserScript",
|
|
||||||
"id": "22516ce4-03d7-4f5b-b210-b15dd82340e5",
|
|
||||||
"path": "resource/工具/obsidian/scripts/openTerminal.js",
|
|
||||||
"settings": {}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"inputPrompt": "multi-line",
|
|
||||||
"persistInputPromptDrafts": true,
|
|
||||||
"useSelectionAsCaptureValue": true,
|
|
||||||
"devMode": false,
|
|
||||||
"templateFolderPath": "attachment/templates",
|
|
||||||
"announceUpdates": "all",
|
|
||||||
"version": "2.12.0",
|
|
||||||
"globalVariables": {},
|
|
||||||
"onePageInputEnabled": false,
|
|
||||||
"disableOnlineFeatures": true,
|
|
||||||
"enableRibbonIcon": false,
|
|
||||||
"showCaptureNotification": true,
|
|
||||||
"showInputCancellationNotification": false,
|
|
||||||
"enableTemplatePropertyTypes": false,
|
|
||||||
"dateAliases": {
|
|
||||||
"t": "today",
|
|
||||||
"tm": "tomorrow",
|
|
||||||
"yd": "yesterday",
|
|
||||||
"nw": "next week",
|
|
||||||
"nm": "next month",
|
|
||||||
"ny": "next year",
|
|
||||||
"lw": "last week",
|
|
||||||
"lm": "last month",
|
|
||||||
"ly": "last year"
|
|
||||||
},
|
|
||||||
"ai": {
|
|
||||||
"defaultModel": "Ask me",
|
|
||||||
"defaultSystemPrompt": "As an AI assistant within Obsidian, your primary goal is to help users manage their ideas and knowledge more effectively. Format your responses using Markdown syntax. Please use the [[Obsidian]] link format. You can write aliases for the links by writing [[Obsidian|the alias after the pipe symbol]]. To use mathematical notation, use LaTeX syntax. LaTeX syntax for larger equations should be on separate lines, surrounded with double dollar signs ($$). You can also inline math expressions by wrapping it in $ symbols. For example, use $$w_{ij}^{\text{new}}:=w_{ij}^{\text{current}}+etacdotdelta_jcdot x_{ij}$$ on a separate line, but you can write \"($eta$ = learning rate, $delta_j$ = error term, $x_{ij}$ = input)\" inline.",
|
|
||||||
"promptTemplatesFolderPath": "",
|
|
||||||
"showAssistant": true,
|
|
||||||
"providers": [
|
|
||||||
{
|
|
||||||
"name": "OpenAI",
|
|
||||||
"endpoint": "https://api.openai.com/v1",
|
|
||||||
"apiKey": "",
|
|
||||||
"models": [
|
|
||||||
{
|
|
||||||
"name": "gpt-3.5-turbo",
|
|
||||||
"maxTokens": 4096
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "gpt-3.5-turbo-16k",
|
|
||||||
"maxTokens": 16384
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "gpt-3.5-turbo-1106",
|
|
||||||
"maxTokens": 16385
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "gpt-4",
|
|
||||||
"maxTokens": 8192
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "gpt-4-32k",
|
|
||||||
"maxTokens": 32768
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "gpt-4-1106-preview",
|
|
||||||
"maxTokens": 128000
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "text-davinci-003",
|
|
||||||
"maxTokens": 4096
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"modelSource": "auto"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"migrations": {
|
|
||||||
"migrateToMacroIDFromEmbeddedMacro": true,
|
|
||||||
"useQuickAddTemplateFolder": true,
|
|
||||||
"incrementFileNameSettingMoveToDefaultBehavior": true,
|
|
||||||
"mutualExclusionInsertAfterAndWriteToBottomOfFile": true,
|
|
||||||
"setVersionAfterUpdateModalRelease": true,
|
|
||||||
"addDefaultAIProviders": true,
|
|
||||||
"removeMacroIndirection": true,
|
|
||||||
"migrateFileOpeningSettings": true,
|
|
||||||
"setProviderModelDiscoveryMode": true,
|
|
||||||
"backfillFileOpeningDefaults": true,
|
|
||||||
"migrateProviderApiKeysToSecretStorage": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Vendored
-118
File diff suppressed because one or more lines are too long
-12
@@ -1,12 +0,0 @@
|
|||||||
{
|
|
||||||
"id": "quickadd",
|
|
||||||
"name": "QuickAdd",
|
|
||||||
"version": "2.12.0",
|
|
||||||
"minAppVersion": "1.11.4",
|
|
||||||
"description": "Quickly add new pages or content to your vault.",
|
|
||||||
"author": "Christian B. B. Houmann",
|
|
||||||
"authorUrl": "https://bagerbach.com",
|
|
||||||
"fundingUrl": "https://www.buymeacoffee.com/chhoumann",
|
|
||||||
"helpUrl": "https://quickadd.obsidian.guide/docs/",
|
|
||||||
"isDesktopOnly": false
|
|
||||||
}
|
|
||||||
-1
File diff suppressed because one or more lines are too long
+3
-1
@@ -23,7 +23,9 @@
|
|||||||
],
|
],
|
||||||
"syntax_highlighting": true,
|
"syntax_highlighting": true,
|
||||||
"syntax_highlighting_mobile": false,
|
"syntax_highlighting_mobile": false,
|
||||||
"enabled_templates_hotkeys": [],
|
"enabled_templates_hotkeys": [
|
||||||
|
"attachment/templates/日常记录-闪念笔记.md"
|
||||||
|
],
|
||||||
"startup_templates": [],
|
"startup_templates": [],
|
||||||
"intellisense_render": 1,
|
"intellisense_render": 1,
|
||||||
"enable_ribbon_icon": true
|
"enable_ribbon_icon": true
|
||||||
|
|||||||
Vendored
+49
-41
@@ -4,17 +4,22 @@
|
|||||||
"type": "split",
|
"type": "split",
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"id": "f5a820b24c2967c5",
|
"id": "cb2a8432e33de74a",
|
||||||
"type": "tabs",
|
"type": "tabs",
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"id": "5ac4315e91879622",
|
"id": "4c3e581c7e8b8c87",
|
||||||
"type": "leaf",
|
"type": "leaf",
|
||||||
"state": {
|
"state": {
|
||||||
"type": "empty",
|
"type": "markdown",
|
||||||
"state": {},
|
"state": {
|
||||||
|
"file": "attachment/templates/打开控制台.md",
|
||||||
|
"mode": "source",
|
||||||
|
"source": false,
|
||||||
|
"backlinks": false
|
||||||
|
},
|
||||||
"icon": "lucide-file",
|
"icon": "lucide-file",
|
||||||
"title": "新标签页"
|
"title": "打开控制台"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -74,7 +79,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"direction": "horizontal",
|
"direction": "horizontal",
|
||||||
"width": 235.5
|
"width": 256.5
|
||||||
},
|
},
|
||||||
"right": {
|
"right": {
|
||||||
"id": "ca733f6d5936ae40",
|
"id": "ca733f6d5936ae40",
|
||||||
@@ -83,7 +88,7 @@
|
|||||||
{
|
{
|
||||||
"id": "1f21045435bfa327",
|
"id": "1f21045435bfa327",
|
||||||
"type": "tabs",
|
"type": "tabs",
|
||||||
"dimension": 57.038834951456316,
|
"dimension": 57.03883495145632,
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"id": "43a2e8e1d9201229",
|
"id": "43a2e8e1d9201229",
|
||||||
@@ -91,12 +96,13 @@
|
|||||||
"state": {
|
"state": {
|
||||||
"type": "outline",
|
"type": "outline",
|
||||||
"state": {
|
"state": {
|
||||||
|
"file": "attachment/templates/查找未引用图片.md",
|
||||||
"followCursor": true,
|
"followCursor": true,
|
||||||
"showSearch": false,
|
"showSearch": false,
|
||||||
"searchQuery": ""
|
"searchQuery": ""
|
||||||
},
|
},
|
||||||
"icon": "lucide-list",
|
"icon": "lucide-list",
|
||||||
"title": "大纲"
|
"title": "查找未引用图片 的大纲"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -105,6 +111,7 @@
|
|||||||
"state": {
|
"state": {
|
||||||
"type": "backlink",
|
"type": "backlink",
|
||||||
"state": {
|
"state": {
|
||||||
|
"file": "attachment/templates/查找未引用图片.md",
|
||||||
"collapseAll": false,
|
"collapseAll": false,
|
||||||
"extraContext": false,
|
"extraContext": false,
|
||||||
"sortOrder": "alphabetical",
|
"sortOrder": "alphabetical",
|
||||||
@@ -114,7 +121,7 @@
|
|||||||
"unlinkedCollapsed": false
|
"unlinkedCollapsed": false
|
||||||
},
|
},
|
||||||
"icon": "links-coming-in",
|
"icon": "links-coming-in",
|
||||||
"title": "反向链接"
|
"title": "查找未引用图片 的反向链接列表"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -123,12 +130,12 @@
|
|||||||
"state": {
|
"state": {
|
||||||
"type": "outgoing-link",
|
"type": "outgoing-link",
|
||||||
"state": {
|
"state": {
|
||||||
"file": "calendar/diary/2026-03-25.md",
|
"file": "attachment/templates/打开控制台.md",
|
||||||
"linksCollapsed": false,
|
"linksCollapsed": false,
|
||||||
"unlinkedCollapsed": true
|
"unlinkedCollapsed": true
|
||||||
},
|
},
|
||||||
"icon": "links-going-out",
|
"icon": "links-going-out",
|
||||||
"title": "2026-03-25 的出链列表"
|
"title": "打开控制台 的出链列表"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -170,12 +177,13 @@
|
|||||||
"title": "脚注"
|
"title": "脚注"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
|
"currentTab": 2
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "e2c44b9c5d0747bb",
|
"id": "e2c44b9c5d0747bb",
|
||||||
"type": "tabs",
|
"type": "tabs",
|
||||||
"dimension": 42.961165048543684,
|
"dimension": 42.96116504854368,
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"id": "736f0891b55bede0",
|
"id": "736f0891b55bede0",
|
||||||
@@ -191,7 +199,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"direction": "horizontal",
|
"direction": "horizontal",
|
||||||
"width": 297.5
|
"width": 263.5
|
||||||
},
|
},
|
||||||
"left-ribbon": {
|
"left-ribbon": {
|
||||||
"hiddenItems": {
|
"hiddenItems": {
|
||||||
@@ -205,34 +213,38 @@
|
|||||||
"templater-obsidian:Templater": false
|
"templater-obsidian:Templater": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"active": "c8718c0c63702202",
|
"active": "4c3e581c7e8b8c87",
|
||||||
"lastOpenFiles": [
|
"lastOpenFiles": [
|
||||||
"000-inbox/20260328215585.md",
|
|
||||||
"000-inbox/20260328220243.md",
|
|
||||||
"000-inbox/20260328213028.md",
|
|
||||||
"000-Inbox/20260328215585.md",
|
|
||||||
"000-Inbox/20260328220243.md",
|
|
||||||
"000-Inbox/20260328213028.md",
|
|
||||||
"000-inbox/20260328212556.md",
|
|
||||||
"000-inbox/20260328212865.md",
|
|
||||||
"000-inbox/20260328182832.md",
|
|
||||||
"000-inbox/20260328182250.md",
|
|
||||||
"000-Inbox/20260328212865.md",
|
|
||||||
"resource/工具/obsidian/x-callback-url.md",
|
|
||||||
"000-Inbox/20260328212556.md",
|
|
||||||
"000-Inbox/20260328182832.md",
|
|
||||||
"000-Inbox/20260328182250.md",
|
|
||||||
"attachment/templates/移动杭研-问题记录.md",
|
|
||||||
"attachment/templates/移动杭研-开发笔记.md",
|
|
||||||
"attachment/templates/日常记录-闪念笔记.md",
|
"attachment/templates/日常记录-闪念笔记.md",
|
||||||
"attachment/templates/日常记录-日记模板.md",
|
"attachment/templates/移动杭研-开发笔记.md",
|
||||||
"000-inbox/20260328181207.md",
|
"attachment/templates/移动杭研-问题记录.md",
|
||||||
"000-Inbox/20260328181207.md",
|
"calendar/diary/2026-03-29.md",
|
||||||
|
"attachment/templates/打开控制台.md",
|
||||||
|
"attachment/templates/查找未引用图片.md",
|
||||||
|
"calendar/diary/2026-03-28.md",
|
||||||
|
"calendar/diary/2026-03-27.md",
|
||||||
|
"000-inbox/Untitled 2.md",
|
||||||
|
"000-inbox/Untitled 3.md",
|
||||||
|
"000-inbox/Untitled.md",
|
||||||
|
"000-inbox/tg-bot.md",
|
||||||
"000-inbox/jinja.md",
|
"000-inbox/jinja.md",
|
||||||
"000-inbox/Docker 核心知识与实战笔记.md",
|
"000-inbox/Docker 核心知识与实战笔记.md",
|
||||||
"000-inbox/需求-命中率计算.md",
|
"000-inbox/需求-命中率计算.md",
|
||||||
"000-inbox/20260328145480111111.md",
|
"000-inbox/未命名.md",
|
||||||
"000-inbox/202603281454171.md",
|
"000-inbox/0329-测试笔记名称。.md",
|
||||||
|
"000-inbox/2026-03-29_13-55-06.md",
|
||||||
|
"000-inbox/2026-03-29_13-18-55.md",
|
||||||
|
"000-inbox/2026-03-29_12-54-13.md",
|
||||||
|
"000-inbox/2026-03-29_12-54-10.md",
|
||||||
|
"attachment/templates/test.md",
|
||||||
|
"attachment/Pasted image 20260329133947.png",
|
||||||
|
"attachment/jsscripts/openTerminal.js",
|
||||||
|
"attachment/jsscripts/新建文本文档.txt",
|
||||||
|
"attachment/jsscripts",
|
||||||
|
"attachment/templates/日常记录-日记模板.md",
|
||||||
|
"work/移动杭研/问题处理/2023-01/0103-试用单前置校验信安附件问题-BBOSS张蕊.md",
|
||||||
|
"000-inbox/开发笔记.md",
|
||||||
|
"000-inbox/2026-03-29_07-10-09.md",
|
||||||
"attachment/images-paste/image-20260325102650978.png",
|
"attachment/images-paste/image-20260325102650978.png",
|
||||||
"attachment/images-paste/image-20260325224014579.png",
|
"attachment/images-paste/image-20260325224014579.png",
|
||||||
"attachment/images-paste/image-20260325224132102.png",
|
"attachment/images-paste/image-20260325224132102.png",
|
||||||
@@ -242,7 +254,6 @@
|
|||||||
"attachment/images-paste/image-20260325224123001.png",
|
"attachment/images-paste/image-20260325224123001.png",
|
||||||
"attachment/images-paste/image-20260325224113880.png",
|
"attachment/images-paste/image-20260325224113880.png",
|
||||||
"attachment/images-paste/image-20260325224055087.png",
|
"attachment/images-paste/image-20260325224055087.png",
|
||||||
"attachment/images-paste/image-20260325224046176.png",
|
|
||||||
"resource/ai/大模型安装笔记",
|
"resource/ai/大模型安装笔记",
|
||||||
"work/移动杭研/问题处理/2026-03",
|
"work/移动杭研/问题处理/2026-03",
|
||||||
"resource/ai/prompts/cosmic 业务版本",
|
"resource/ai/prompts/cosmic 业务版本",
|
||||||
@@ -250,9 +261,6 @@
|
|||||||
"resource/ai/prompts/临时",
|
"resource/ai/prompts/临时",
|
||||||
"resource/工具/rime",
|
"resource/工具/rime",
|
||||||
"work/移动杭研/开发记录/7.19.0",
|
"work/移动杭研/开发记录/7.19.0",
|
||||||
"work/移动杭研/AI 项目",
|
|
||||||
"resource/前端",
|
|
||||||
"resource/英语",
|
|
||||||
"000-inbox/未命名.canvas"
|
"000-inbox/未命名.canvas"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 80 KiB |
@@ -0,0 +1,7 @@
|
|||||||
|
<%*
|
||||||
|
const vaultPath = tp.app.vault.adapter.basePath;
|
||||||
|
const command = `wt -d "${vaultPath}"`;
|
||||||
|
const { exec } = require("node:child_process");
|
||||||
|
exec(command);
|
||||||
|
return "";
|
||||||
|
-%>
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
<%*
|
||||||
|
const name = tp.date.now("YYYY-MM-DD_HH-mm-ss");
|
||||||
|
await tp.file.rename(name);
|
||||||
|
setTimeout(() => {
|
||||||
|
const editor = app.workspace.activeEditor?.editor;
|
||||||
|
if (editor) {
|
||||||
|
editor.setCursor(0, 0);
|
||||||
|
editor.focus();
|
||||||
|
}
|
||||||
|
}, 150);
|
||||||
|
-%>
|
||||||
@@ -1,3 +1,6 @@
|
|||||||
|
<%*
|
||||||
|
await tp.file.rename("开发笔记");
|
||||||
|
-%>
|
||||||
# 需求 1
|
# 需求 1
|
||||||
|
|
||||||
## 需求评审
|
## 需求评审
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
<%*
|
||||||
|
const monthDay = tp.date.now("MMDD");
|
||||||
|
const name = await tp.system.prompt("笔记名称", "");
|
||||||
|
if (name) {
|
||||||
|
await tp.file.rename(monthDay + "-" + name);
|
||||||
|
}
|
||||||
|
-%>
|
||||||
---
|
---
|
||||||
日期: <% tp.date.now("YYYY-MM-DD HH:mm") %>
|
日期: <% tp.date.now("YYYY-MM-DD HH:mm") %>
|
||||||
来源:
|
来源:
|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
# 任务
|
||||||
|
|
||||||
|
# 日志
|
||||||
|
|
||||||
|
# 总结
|
||||||
|
|
||||||
|
修脚,下午睡了会儿觉,最近田宝和另一个瑞瑞玩儿的很不错。
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
# 任务
|
||||||
|
|
||||||
|
# 日志
|
||||||
|
|
||||||
|
# 总结
|
||||||
|
|
||||||
|
上午去医院。去了昌平线程的国泰,给团团买了一个小金豆子。
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
module.exports = async function openTerminal(params) {
|
|
||||||
const { app } = params;
|
|
||||||
const vaultPath = app.vault.adapter.basePath;
|
|
||||||
const command = `wt -d "${vaultPath}"`;
|
|
||||||
const { exec } = require("node:child_process");
|
|
||||||
exec(command, (error) => {
|
|
||||||
if (error) console.error("执行失败:", error);
|
|
||||||
});
|
|
||||||
};
|
|
||||||
Reference in New Issue
Block a user