-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.norg
40 lines (34 loc) · 1018 Bytes
/
example.norg
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
* Simple command examples
- Run vim commands {+echo 42+27}
- Run shell commands {+!ls}
- View yesterday's journal {+Neorg journal yesterday}[Yesterday]
- Insert timelog into routine {+Neorg timelog insert routine}[Log routine] (requires {&gh phenax/neorg-timelog})
* Counter example
- count: 19
- Increment: {+/-\s*count:/ | norm! }
- Decrement: {+/-\s*count:/ | norm! }
* Shell insert example
- Update ls results: {+/lsResult\s*=/ | norm vi(dk:r!ls}
@code
lsResult = (
)
@end
* Aliases
- {&gh phenax/neorg-hop-extras}
- {&gh phenax/neorg-timelog}
- {&npm react}
- {&crates serde}
- {&caniuse flexbox}
$ with-prompts
* With prompts
- {! https://duckduckgo.com} - Prompt before opening link
- {!&npm react} - Prompt before opening alias
- {! +norm! t]}[23] - Prompt before running command (increment)
* Regular links
- {https://duckduckgo.com}
- {:foo:}
- {/ README.md}
- {* With prompts}
- {$ with-prompts}
- {file:///home/username/Pictures/picture.png}