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
+26 -5
View File
@@ -1,5 +1,26 @@
{
"key": "ctrl+alt+s",
"command": "extension.multiCommand.execute",
"args": { "command": "multiCommand.syncAllFiles" },
}
[
{
"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"
}
]
+2 -2
View File
@@ -1,5 +1,5 @@
# Agora Algorithm
- https://twitter.com/flancian/status/1365358298308952072
- https://twitter.com/plantey__/status/1365371995672760327
https://twitter.com/flancian/status/1365358298308952072
https://twitter.com/plantey__/status/1365371995672760327
+12 -8
View File
@@ -3,17 +3,14 @@
- These are my [[foam]] ([[vscode]]) settings as of [[2021-01-13]]:
- [[push]] [[settings.json]]:
```
"foam.openDailyNote.directory": "journal"
"vscodeMarkdownNotes.newNoteDirectory": "WORKSPACE_ROOT"
"foam.openDailyNote.directory": "journal",
"vscodeMarkdownNotes.newNoteDirectory": "WORKSPACE_ROOT",
```
- [[push]] [[commit.txt]]:
```
Auto: misc.
```
- 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):
[[push]] [[keybindings.json]] (global):
```
[
{
@@ -42,13 +39,20 @@ 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"
[foam]: foam "Foam"
[vscode]: vscode "Vscode"
[2021-01-13]: journal/2021-01-13 "2021-01-13"
[push]: push "Push"
[auto commit messages]: auto-commit-messages "Auto Commit Messages"
[agora]: agora "Agora"
[//end]: # "Autogenerated link references"
+2
View File
@@ -6,6 +6,8 @@
- [[remora]]
- [[revolutions]]
- [[dungeons]]
- [[agora algorithm]]
- [[git alias]]
## [[done]]
- implement [[open search]] in the [[agora]].