mirror of
https://github.com/flancian/garden.git
synced 2026-08-07 23:16:21 +00:00
Update foam-settings.md
This commit is contained in:
+9
-8
@@ -1,16 +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-02-26]]:
|
||||||
- [[push]] [[settings.json]]:
|
- [[push]] [[settings.json]]:
|
||||||
```
|
```
|
||||||
"foam.openDailyNote.directory": "journal",
|
"foam.openDailyNote.directory": "journal",
|
||||||
"vscodeMarkdownNotes.newNoteDirectory": "WORKSPACE_ROOT",
|
"vscodeMarkdownNotes.newNoteDirectory": "WORKSPACE_ROOT",
|
||||||
```
|
```
|
||||||
|
|
||||||
- [[push]] [[commit.txt]]:
|
- [[push]] [[commit.txt]]:
|
||||||
```
|
```
|
||||||
Auto: misc.
|
Auto: misc.
|
||||||
```
|
```
|
||||||
[[push]] [[keybindings.json]] (global):
|
|
||||||
|
- [[push]] [[keybindings.json]] (global):
|
||||||
```
|
```
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
@@ -40,13 +42,12 @@ Auto: misc.
|
|||||||
]
|
]
|
||||||
```
|
```
|
||||||
- This results in being able to press ctrl-shift-s to save all files; and ctrl-shift-a to push changes to the [[agora]] without the need to write a commit message.
|
- This results in being able to press ctrl-shift-s to save all files; and ctrl-shift-a to push changes to the [[agora]] without the need to write a commit message.
|
||||||
- [[shipit]], a .bashrc function:
|
- [[push]] [[ship]], a very simple script / .bashrc function:
|
||||||
```
|
```
|
||||||
function shipit() {
|
#!/bin/sh
|
||||||
git add -A
|
git add -A
|
||||||
git commit -a -m "$*"
|
git commit -a -m "$*"
|
||||||
git push
|
git push
|
||||||
}
|
|
||||||
```
|
```
|
||||||
|
|
||||||
[//begin]: # "Autogenerated link references for markdown compatibility"
|
[//begin]: # "Autogenerated link references for markdown compatibility"
|
||||||
|
|||||||
Reference in New Issue
Block a user