better settings

This commit is contained in:
2021-02-26 20:32:37 +01:00
parent 3003feca28
commit aaf7d1e7d2
4 changed files with 42 additions and 15 deletions
+24 -3
View File
@@ -1,5 +1,26 @@
[
{ {
"key": "ctrl+alt+s", "key": "ctrl+shift+b",
"command": "extension.multiCommand.execute", "command": "vscodeMarkdownNotesBacklinks.focus"
"args": { "command": "multiCommand.syncAllFiles" }, },
{
"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"
} }
]
+2 -2
View File
@@ -1,5 +1,5 @@
# Agora Algorithm # Agora Algorithm
- https://twitter.com/flancian/status/1365358298308952072 https://twitter.com/flancian/status/1365358298308952072
- https://twitter.com/plantey__/status/1365371995672760327 https://twitter.com/plantey__/status/1365371995672760327
+11 -7
View File
@@ -3,17 +3,14 @@
- These are my [[foam]] ([[vscode]]) settings as of [[2021-01-13]]: - These are my [[foam]] ([[vscode]]) settings as of [[2021-01-13]]:
- [[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):
- 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):
``` ```
[ [
{ {
@@ -43,12 +40,19 @@ 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:
```
function shipit() {
git add -A
git commit -a -m "$*"
git push
}
```
[//begin]: # "Autogenerated link references for markdown compatibility" [//begin]: # "Autogenerated link references for markdown compatibility"
[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" [push]: push "Push"
[auto commit messages]: auto-commit-messages "Auto Commit Messages"
[agora]: agora "Agora" [agora]: agora "Agora"
[//end]: # "Autogenerated link references" [//end]: # "Autogenerated link references"
+2
View File
@@ -6,6 +6,8 @@
- [[remora]] - [[remora]]
- [[revolutions]] - [[revolutions]]
- [[dungeons]] - [[dungeons]]
- [[agora algorithm]]
- [[git alias]]
## [[done]] ## [[done]]
- implement [[open search]] in the [[agora]]. - implement [[open search]] in the [[agora]].