mirror of
https://github.com/flancian/garden.git
synced 2026-08-07 15:06:19 +00:00
foam settings
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
# Agora Algorithm
|
||||||
|
|
||||||
|
- https://twitter.com/flancian/status/1365358298308952072
|
||||||
|
- https://twitter.com/plantey__/status/1365371995672760327
|
||||||
|
|
||||||
+12
-3
@@ -1,10 +1,18 @@
|
|||||||
# Foam Settings
|
# Foam Settings
|
||||||
|
|
||||||
- These are my [[foam]] ([[vscode]]) settings as of [[2021-01-13]]:
|
- These are my [[foam]] ([[vscode]]) settings as of [[2021-01-13]]:
|
||||||
- ```"foam.openDailyNote.directory": "journal"``` in the workspace's settings.json to create daily notes in journal/, example:
|
- [[push]] [[settings.json]]:
|
||||||
- <https://github.com/flancian/garden/blob/master/.vscode/settings.json>
|
```
|
||||||
- ``` "vscodeMarkdownNotes.newNoteDirectory": "WORKSPACE_ROOT"``` also, to make it so that notes created by following links from the daily note (alt-d) are created in the root instead of the journal/ directory.
|
"foam.openDailyNote.directory": "journal"
|
||||||
|
"vscodeMarkdownNotes.newNoteDirectory": "WORKSPACE_ROOT"
|
||||||
|
```
|
||||||
|
- [[push]] [[commit.txt]]:
|
||||||
|
```
|
||||||
|
Auto: misc.
|
||||||
|
```
|
||||||
|
|
||||||
- A commit.txt in the repo for [[auto commit messages]], plus one-time setup with git config (see note), if you don't want to have to write commit messages when updating the [[agora]].
|
- A commit.txt in the repo for [[auto commit messages]], plus one-time setup with git config (see note), if you don't want to have to write commit messages when updating the [[agora]].
|
||||||
|
|
||||||
- The following in ```.config/Code/User/keybindings.json``` (this has to be set on a global basis due to [[vscode]] limitations):
|
- The following in ```.config/Code/User/keybindings.json``` (this has to be set on a global basis due to [[vscode]] limitations):
|
||||||
```
|
```
|
||||||
[
|
[
|
||||||
@@ -40,6 +48,7 @@
|
|||||||
[foam]: foam "Foam"
|
[foam]: foam "Foam"
|
||||||
[vscode]: vscode "Vscode"
|
[vscode]: vscode "Vscode"
|
||||||
[2021-01-13]: journal/2021-01-13 "2021-01-13"
|
[2021-01-13]: journal/2021-01-13 "2021-01-13"
|
||||||
|
[push]: push "Push"
|
||||||
[auto commit messages]: auto-commit-messages "Auto Commit Messages"
|
[auto commit messages]: auto-commit-messages "Auto Commit Messages"
|
||||||
[agora]: agora "Agora"
|
[agora]: agora "Agora"
|
||||||
[//end]: # "Autogenerated link references"
|
[//end]: # "Autogenerated link references"
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
# Git Alias
|
||||||
|
|
||||||
|
```
|
||||||
|
$ git config --global alias.co checkout
|
||||||
|
$ git config --global alias.br branch
|
||||||
|
$ git config --global alias.ci commit
|
||||||
|
$ git config --global alias.st status
|
||||||
|
```
|
||||||
|
|
||||||
Reference in New Issue
Block a user