diff --git a/.vscode/keybindings.json b/.vscode/keybindings.json index de47e2408..575281ca6 100644 --- a/.vscode/keybindings.json +++ b/.vscode/keybindings.json @@ -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" + } +] \ No newline at end of file diff --git a/agora-algorithm.md b/agora-algorithm.md index 1afb0646d..f00765251 100644 --- a/agora-algorithm.md +++ b/agora-algorithm.md @@ -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 diff --git a/foam-settings.md b/foam-settings.md index 18ecb981d..0cfd236d9 100644 --- a/foam-settings.md +++ b/foam-settings.md @@ -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" \ No newline at end of file diff --git a/journal/2021-02-26.md b/journal/2021-02-26.md index 6b941c217..609d6a696 100644 --- a/journal/2021-02-26.md +++ b/journal/2021-02-26.md @@ -6,6 +6,8 @@ - [[remora]] - [[revolutions]] - [[dungeons]] +- [[agora algorithm]] +- [[git alias]] ## [[done]] - implement [[open search]] in the [[agora]].