From 1d6209e61a29bdc66c5f5905d5f2a772f7615228 Mon Sep 17 00:00:00 2001 From: Flancian <0@flancia.org> Date: Wed, 13 Jan 2021 15:24:35 +0100 Subject: [PATCH] Auto: misc. --- .vscode/settings.json | 1 + foam-settings.md | 42 ++++++++++++++++++++++++++++++++++++++++++ journal/2021-01-13.md | 1 + 3 files changed, 44 insertions(+) create mode 100644 foam-settings.md diff --git a/.vscode/settings.json b/.vscode/settings.json index 5f1044f71..c6076dc08 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -37,6 +37,7 @@ ], "vim.handleKeys": { "[": false, + "]": false, }, "foam.openDailyNote.directory": "journal", "editor.minimap.enabled": true, diff --git a/foam-settings.md b/foam-settings.md new file mode 100644 index 000000000..81931fdca --- /dev/null +++ b/foam-settings.md @@ -0,0 +1,42 @@ +# Foam Settings + +- These are my [[foam]] ([[vscode]]) settings as of [[2021-01-13]]: + - ```"foam.openDailyNote.directory": "journal"``` in settings.json to create daily notes in journal/: + - + - 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): +> [ +> { +> "key": "ctrl+shift+b", +> "command": "vscodeMarkdownNotesBacklinks.focus" +> }, +> { +> "key": "ctrl+alt+[", +> "command": "workbench.action.navigateBack" +> }, +> { +> "key": "ctrl+alt+]", +> "command": "workbench.action.navigateForward" +> }, +> { +> "key": "ctrl+shift+a", +> "command": "git.commitAll" +> }, +> { +> "key": "ctrl+alt+v", +> "command": "toggleVim" +> }, +> { +> "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]]. + +[//begin]: # "Autogenerated link references for markdown compatibility" +[foam]: foam "Foam" +[vscode]: vscode "Vscode" +[2021-01-13]: journal/2021-01-13 "2021-01-13" +[auto commit messages]: auto-commit-messages "Auto Commit Messages" +[agora]: agora "Agora" +[//end]: # "Autogenerated link references" \ No newline at end of file diff --git a/journal/2021-01-13.md b/journal/2021-01-13.md index c7480ec8e..89a4b5915 100644 --- a/journal/2021-01-13.md +++ b/journal/2021-01-13.md @@ -34,6 +34,7 @@ - [[anonymous subnodes]] https://twitter.com/flancian/status/1349330715553505280 - [[extensible redirects]] https://social.coop/@flancian/105548504652791347 - [[foucaults turtlenecks]] +- [[foam settings]] ## [[doing]] - [[agora plan]]