mirror of
https://github.com/flancian/garden.git
synced 2026-08-06 14:36:18 +00:00
Update foam-settings.md
This commit is contained in:
+10
-9
@@ -1,16 +1,18 @@
|
||||
# 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]]:
|
||||
```
|
||||
"foam.openDailyNote.directory": "journal",
|
||||
"vscodeMarkdownNotes.newNoteDirectory": "WORKSPACE_ROOT",
|
||||
```
|
||||
|
||||
- [[push]] [[commit.txt]]:
|
||||
```
|
||||
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.
|
||||
- [[shipit]], a .bashrc function:
|
||||
- [[push]] [[ship]], a very simple script / .bashrc function:
|
||||
```
|
||||
function shipit() {
|
||||
git add -A
|
||||
git commit -a -m "$*"
|
||||
git push
|
||||
}
|
||||
#!/bin/sh
|
||||
git add -A
|
||||
git commit -a -m "$*"
|
||||
git push
|
||||
```
|
||||
|
||||
[//begin]: # "Autogenerated link references for markdown compatibility"
|
||||
@@ -55,4 +56,4 @@ function shipit() {
|
||||
[2021-01-13]: journal/2021-01-13 "2021-01-13"
|
||||
[push]: push "Push"
|
||||
[agora]: agora "Agora"
|
||||
[//end]: # "Autogenerated link references"
|
||||
[//end]: # "Autogenerated link references"
|
||||
|
||||
Reference in New Issue
Block a user