Auto: misc.

This commit is contained in:
2021-01-13 15:26:00 +01:00
parent 1d6209e61a
commit 70c7809b93
+29 -27
View File
@@ -1,36 +1,38 @@
# 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 settings.json to create daily notes in journal/: - ```"foam.openDailyNote.directory": "journal"``` in the workspace's settings.json to create daily notes in journal/, example:
- <https://github.com/flancian/garden/blob/master/.vscode/settings.json> - <https://github.com/flancian/garden/blob/master/.vscode/settings.json>
- A commit.txt in the repo for [[auto commit messages]], plus one-time setup with git config (see note). - A commit.txt in the repo for [[auto commit messages]], plus one-time setup with git config (see note).
- The following in keybindings.json (which has to be set on a global basis): - The following in keybindings.json (which has to be set on a global basis):
> [ ```
> { [
> "key": "ctrl+shift+b", {
> "command": "vscodeMarkdownNotesBacklinks.focus" "key": "ctrl+shift+b",
> }, "command": "vscodeMarkdownNotesBacklinks.focus"
> { },
> "key": "ctrl+alt+[", {
> "command": "workbench.action.navigateBack" "key": "ctrl+alt+[",
> }, "command": "workbench.action.navigateBack"
> { },
> "key": "ctrl+alt+]", {
> "command": "workbench.action.navigateForward" "key": "ctrl+alt+]",
> }, "command": "workbench.action.navigateForward"
> { },
> "key": "ctrl+shift+a", {
> "command": "git.commitAll" "key": "ctrl+shift+a",
> }, "command": "git.commitAll"
> { },
> "key": "ctrl+alt+v", {
> "command": "toggleVim" "key": "ctrl+alt+v",
> }, "command": "toggleVim"
> { },
> "key": "ctrl+shift+s", {
> "command": "workbench.action.files.saveFiles" "key": "ctrl+shift+s",
> } "command": "workbench.action.files.saveFiles"
> ] }
]
```
- This results in being able to press ctrl-shift-a to auto-push changes to the [[agora]]. - This results in being able to press ctrl-shift-a to auto-push changes to the [[agora]].
[//begin]: # "Autogenerated link references for markdown compatibility" [//begin]: # "Autogenerated link references for markdown compatibility"