-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvault.config.yaml
More file actions
67 lines (59 loc) · 1.87 KB
/
vault.config.yaml
File metadata and controls
67 lines (59 loc) · 1.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# Vault CLI 配置文件
# 全局设置
global:
dry_run: false # 全局 dry-run 开关,true 时所有操作仅预览
auto_backup: true # 破坏性操作前自动 Git 备份
generate_undo_log: true # 生成 undo 撤销日志
undo_retention_days: 30 # undo 日志保留天数
auto_clean_undo: true # 启动时自动清理过期 undo 日志
# Git 备份设置
git:
enabled: true
remote_url: "git@github.com:username/vault.git"
auto_push: true # 备份后自动推送到远程
commit_message_prefix: "Auto backup before" # 自动提交消息前缀
# 基础设置
vault_root: "."
logs_dir: "_z_logs"
scripts_dir: "_scripts"
# 文件夹结构
folders:
inbox: "01_Inbox"
sidebusiness: "02_SideBusiness"
knowledge: "03_Knowledge"
projects: "04_Projects"
content: "05_Content"
ideas: "06_IdeaVault"
assets: "assets"
# 清理规则
clean:
remove_empty_dirs: true
min_file_size: 50 # 字节,小于此大小的文件视为短文件
backup_before_delete: true
delete_extensions: # 自动删除的文件扩展名
- '.DS_Store' # macOS 系统文件
- '.gdoc' # Google Docs 快捷方式
- '.gsheet' # Google Sheets 快捷方式
- '.icloud' # iCloud 占位符文件
- '.swp' # Vim 临时文件
- '.tmp' # 临时文件
- '.bak' # 备份文件
# 整理规则
organize:
add_yaml: true
rename_files: true
auto_move: false # 默认不自动移动,仅生成建议
# 资源管理
assets:
images_dir: "assets/img"
docs_dir: "assets/docs"
code_dir: "assets/code"
allowed_extensions:
images: [".png", ".jpg", ".jpeg", ".gif", ".svg", ".webp"]
docs: [".pdf", ".docx", ".xlsx", ".pptx"]
code: [".py", ".js", ".java", ".cpp"]
# 报告设置
report:
format: "markdown" # markdown 或 json
include_stats: true
include_charts: false