Obsidian 记录

  • Obsidian 记录的集合贴

  • 更新

    1
    23.10.16 初始化

导语

日常 Obsidian 使用好几年了, 最近开个帖子记录下相关内容.

Review Template

很长时间内对时间的利用效率并不高, 哪怕是配合番茄钟也只是有限提升了效率.直到碰到间歇工作日记. 配合番茄钟, 将每个时段简单几句话整理, 清空大脑几分钟. 才找到我的症结.– 哪怕是番茄钟, 几分钟的休息时间段,我的大脑实际并没有休息,还在连续工作. 如果不清空大脑, 那番茄钟毫无意义….

参考:

  • https://sspai.com/post/63674

下面是我的工作日 day review 的模板 (obsidian Template 插件)

  • 周一例会
  • 链接本周一 – 下周五
  • 添加 weather,需要参考 ^1 Template 中添加用户函数.
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
68
69
<%*  
let today = tp.date.now("YYYY-M-D")
let inputDate = await tp.system.prompt("输入示例:"+today,today)

titleName = window.moment(inputDate, "YYYY-M-D", true).format("YYYY-M-D")

today = window.moment(inputDate, "YYYY-M-D", true).format("YYYY-M-D")
yestoday = window.moment(inputDate, "YYYY-M-D", true).add(-1,"days").format("YYYY-M-D")
tomorrow = window.moment(inputDate, "YYYY-M-D", true).add(1,"days").format("YYYY-M-D")
currentDay = window.moment(inputDate, "YYYY-M-D", true).format("e")

let createTime = tp.file.creation_date("dddd Do MMMM YYYY HH:mm:ss")
let modificationDate = tp.file.last_modified_date("dddd Do MMMM YYYY HH:mm:ss")

let this_week = moment().subtract(0, "week").format("gggg-ww")
last_week = window.moment(this_week, "YYYY-WW", true).add(-7,"days").format("YYYY-WW")
next_week = window.moment(this_week, "YYYY-WW", true).add(7,"days").format("YYYY-WW")

moday_next_week = window.moment(next_week, "YYYY-WW", true).format("YYYY-M-D")
friday_last_week = window.moment(last_week, "YYYY-WW", true).add(4,"days").format("YYYY-M-D")

-%>
---
title: "<% today %>"
tags:
- dayly
date created: <% createTime %>
date modified: <% modificationDate %>
---
<% tp.web.daily_quote() %>
<% tp.web.random_picture("200x200", "landscape,water") %>
<% tp.user.weather_bj() %>

<%*
// 周一 周五 链接到上周 or 下周
if (currentDay == 0) {
yestoday = friday_last_week
} else if (currentDay == 4) {
tomorrow = moday_next_week
} else {
}
before_date = window.moment(yestoday, "YYYY-M-D", true).format("YYYY-MM-DD_ddd")
after_date = window.moment(tomorrow, "YYYY-M-D", true).format("YYYY-MM-DD_ddd")
-%>
<< [[<% yestoday %>|<% before_date %>]] | [[<% tomorrow %>|<% after_date %>]] >>

## <% today %>

### 每日任务

#plan
- [ ] todo

^<% today %>-plan

### tracking

TimeLine
- now
<%* if (currentDay == 0) { %>
### 例会
<%* } %>
### 昨日回顾

![[<% yestoday %>#^<% yestoday %>-plan]]

<%*
tp.file.cursor()
-%>

尾巴

碎片时间就用碎片填充, 效率时间保持休息.