Skip to content

Instantly share code, notes, and snippets.

@kevinslin
Last active August 4, 2022 04:44
Show Gist options
  • Save kevinslin/e849cbf3a13603fed8e4de5830b72209 to your computer and use it in GitHub Desktop.
Save kevinslin/e849cbf3a13603fed8e4de5830b72209 to your computer and use it in GitHub Desktop.
kevin.daily-journal-template
// Place your key bindings in this file to override the defaults
[
// The following are Kevin's keybindings for VSCode
// They are made available under CC BY 4.0
//
// To navigate
// `==` denote sections
// `---` denotes subsections
//
// == Dendron
// Used to export specific notes
{
"key": "cmd+k t",
"command": "dendron.exportPodv2",
"args": {"podId": "dendron.tasks"}
},
{
"key": "cmd+k cmd+t",
"command": "dendron.exportPodv2",
"args": {"podId": "dendron.tasks", "exportScope": "LinksInSelection"}
},
{
"key": "cmd+k p",
"command": "dendron.exportPodv2",
"args": {"podId": "dendron.projects"}
},
{
"key": "cmd+k u",
"command": "dendron.exportPodv2",
"args": {"podId": "dendron.users"}
},
{
"key": "cmd+k cmd+u",
"command": "dendron.exportPodv2",
"args": {"podId": "dendron.users", "exportScope": "Hierarchy"}
},
{
"key": "cmd+k c",
"command": "dendron.exportPodv2",
"args": {"podId": "dendron.users.incidents"}
},
{
"key": "cmd+k cmd+c",
"command": "dendron.exportPodv2",
"args": {"podId": "dendron.users.issues"}
},
{
"key": "cmd+k m",
"command": "dendron.exportPodv2",
"args": {"podId": "dendron.milestones"}
},
{
"key": "cmd+k n",
"command": "dendron.exportPodv2",
"args": {"podId": "dendron.users.interactions"}
},
{
"key": "cmd+k s",
"command": "dendron.exportPodv2",
"args": {"podId": "dendron.survey"}
},
{
"key": "cmd+k cmd+s",
"command": "dendron.exportPodv2",
"args": {"podId": "dendron.survey.feature-feedback"}
},
// --- Search
// Look across all schemas
{
"key": "ctrl+s c",
"command": "search.action.openNewEditor",
"args": {
"query": "",
"triggerSearch": false,
"focusResults": false,
"includes": "*.schema.yml"
}
},
// Open search editor at current hierarchy
{
"key": "ctrl+s f",
"command": "search.action.openNewEditor",
"args": {
"query": ".",
"triggerSearch": true,
"focusResults": false,
"includes": "${fileBasenameNoExtension}*",
"regexp": true,
"showIncludesExcludes": true
}
},
// Look across my zsh history
{
"key": "ctrl+s b",
"command": "search.action.openNewEditor",
"args": {
"query": "",
"triggerSearch": false,
"focusResults": false,
"includes": "~/.logs/zsh-history-*-*.log"
}
},
// --- Special Notes
// Create scratch note from highlight
{
"key": "ctrl+s s",
"command": "dendron.lookupNote",
"args": {
"noteType": "scratch",
"selectionType": "selection2link",
"noConfirm": true
}
},
// Create link from selection
{
"key": "ctrl+s l",
"command": "dendron.lookupNote",
"args": {
"selectionType": "selection2link"
}
},
// Insert note
{
"key": "cmd+k i",
"command": "dendron.insertNote"
},
{
"key": "ctrl+t",
"command": "dendron.createTask"
},
{
"key": "ctrl+cmd+up",
"command": "dendron.goUpHierarchy",
"when": "dendron:pluginActive && editorFocus"
},
// == Extensions
// Markdown Shortcuts
{
"key": "shift+cmd+b",
"command": "md-shortcut.toggleBullets",
"when": "editorTextFocus && markdownShortcuts:enabled"
},
{
"key": "cmd+ctrl+c",
"command": "md-shortcut.toggleInlineCode"
},
{
"key": "cmd+k l",
"command": "md-shortcut.toggleLink"
},
// == Navigation
// --- Terminal
{
"key": "cmd+shift+h",
"command": "workbench.action.terminal.focusPrevious",
"when": "terminalFocus"
},
{
"key": "cmd+shift+l",
"command": "workbench.action.terminal.focusNext",
"when": "terminalFocus"
},
// --- Windows
{
"key": "cmd+1",
"command": "workbench.action.openEditorAtIndex1"
},
{
"key": "cmd+2",
"command": "workbench.action.openEditorAtIndex2"
},
{
"key": "cmd+3",
"command": "workbench.action.openEditorAtIndex3"
},
{
"key": "cmd+4",
"command": "workbench.action.openEditorAtIndex4"
},
{
"key": "cmd+5",
"command": "workbench.action.openEditorAtIndex5"
},
// --- Editor
{
"key": "ctrl+1",
"command": "workbench.action.focusFirstEditorGroup"
},
{
"key": "ctrl+2",
"command": "workbench.action.focusSecondEditorGroup"
},
{
"key": "ctrl+3",
"command": "workbench.action.focusThirdEditorGroup"
},
{
"key": "ctrl+4",
"command": "workbench.action.focusFourthEditorGroup"
},
{
"key": "ctrl+5",
"command": "workbench.action.focusFifthEditorGroup"
},
{
"key": "ctrl+6",
"command": "workbench.action.focusSixthEditorGroup"
},
{
"key": "cmd+shift+[",
"command": "workbench.action.previousEditor"
},
// == Display
// Maximize Terminal
{
"command": "workbench.action.toggleMaximizedPanel",
"key": "cmd+ctrl+j"
},
// Toggle current window size
{
"command": "workbench.action.toggleEditorWidths",
"key": "ctrl+cmd+m"
},
// Toggle Sidebar
{
"command": "workbench.action.toggleSidebarVisibility",
"key": "cmd+ctrl+space"
},
// Close all right editors
{
"command": "workbench.action.closeEditorsToTheRight",
"key": "cmd+ctrl+r"
},
// === Editor
// Universal
// --- General
// Trigger intellisense
{
"command": "editor.action.triggerSuggest",
"key": "shift+cmd+space"
},
// Insert snippet
{
"key": "ctrl+i",
"command": "editor.action.insertSnippet"
},
// Go to definition
{
"command": "editor.action.revealDefinition",
"key": "ctrl+enter",
"when": "editorFocus"
},
// Peek Definition
{
"key": "ctrl+p",
"command": "editor.action.peekDefinition"
},
{
"command": "copyRelativeFilePath",
"key": "ctrl+n",
"when": "editorFocus"
},
{
"command": "workbench.action.showAllEditors",
"key": "cmd+ctrl+t"
},
{
"command": "workbench.action.showAllEditorsByMostRecentlyUsed",
"key": "cmd+ctrl+u"
},
{
"command": "git.openFile",
"key": "ctrl+g o"
},
// --- Code
// Navigate to next problem
{
"command": "editor.action.marker.nextInFiles",
"key": "shift+down"
},
// Toggle between terminal and editor
{
"key": "ctrl+y",
"command": "workbench.action.terminal.focus"
},
{
"key": "ctrl+y",
"command": "workbench.action.focusActiveEditorGroup",
"when": "terminalFocus"
},
// == Conflicts
// These commands conflict wiith existing
{
"command": "-workbench.action.terminal.resizePaneRight"
},
{
"key": "cmd+shift+j",
"command": "-jumpToNextSnippetPlaceholder"
},
{
"key": "shift+cmd+l",
"command": "-editor.action.selectHighlights",
"when": "editorFocus"
},
{
"key": "tab",
"command": "-markdown.extension.onTabKey",
"when": "editorTextFocus && !editorReadonly && !editorTabMovesFocus && !hasOtherSuggestions && !hasSnippetCompletions && !inSnippetMode && !suggestWidgetVisible && editorLangId == 'markdown'"
},
{
"key": "cmd+v",
"command": "-markdown.extension.editing.paste",
"when": "editorHasSelection && editorTextFocus && editorLangId == 'markdown'"
},
{
"key": "cmd+v",
"command": "-extension.vim_cmd+v",
"when": "editorTextFocus && vim.active && vim.overrideCmdV && vim.use<D-v> && !inDebugRepl"
},
{
"key": "cmd+o",
"command": "-workbench.action.files.openLocalFileFolder",
"when": "remoteFileDialogVisible"
},
{
"key": "ctrl+shift+l",
"command": "-md-shortcut.toggleImage",
"when": "editorTextFocus && markdownShortcuts:enabled"
},
{
"key": "cmd+l",
"command": "-expandLineSelection",
"when": "textInputFocus"
},
{
"key": "ctrl+l",
"command": "-extension.vim_navigateCtrlL",
"when": "editorTextFocus && vim.active && vim.use<C-l> && !inDebugRepl"
},
{
"key": "ctrl+l",
"command": "-expandLineSelection",
"when": "textInputFocus"
},
{
"key": "ctrl+b",
"command": "-extension.vim_ctrl+b",
"when": "editorTextFocus && vim.active && vim.use<C-b> && !inDebugRepl && vim.mode != 'Insert'"
},
{
"key": "shift+ctrl",
"command": "workbench.action.focusSecondSideEditor",
"when": ""
},
{
"key": "ctrl+t",
"command": "-extension.vim_ctrl+t",
"when": "editorTextFocus && vim.active && vim.use<C-t> && !inDebugRepl"
}
]

Discussion

  • [[Jonathan|dendron://admin/user.kevin.journal.2022.<%= CURRENT_MONTH %>.<%= CURRENT_DAY %>.m.jon]]
  • [[John|dendron://admin/user.kevin.journal.2022.<%= CURRENT_MONTH %>.<%= CURRENT_DAY %>.m.john]]

Log

Do

  • *** urgent, prio

  • *** urgent

  • *** prio

  • *** rest

New

Routine

Start

  • check tasks due today
  • tasks from yesterday
  • check email
  • review daily journals
    • [[user.kaan.journal.2022.<%= CURRENT_MONTH %>.<%= CURRENT_DAY %>]]
    • [[user.jonathan.journal.2022.<%= CURRENT_MONTH %>.<%= CURRENT_DAY %>]]
    • [[user.hikchoi.journal.2022.<%= CURRENT_MONTH %>.<%= CURRENT_DAY %>]]
    • [[user.joshi.journal.2022.<%= CURRENT_MONTH %>.<%= CURRENT_DAY %>]]
    • [[user.john.journal.2022.<%= CURRENT_MONTH %>.<%= CURRENT_DAY %>]]
    • [[user.derek.journal.2022.<%= CURRENT_MONTH %>.<%= CURRENT_DAY %>]]
    • [[user.tuling.journal.2022.<%= CURRENT_MONTH %>.<%= CURRENT_DAY %>]]
    • [[user.eleweek.journal.2022.<%= CURRENT_MONTH %>.<%= CURRENT_DAY %>]]
    • [[user.kiran.journal.2022.<%= CURRENT_MONTH %>.<%= CURRENT_DAY %>]]
  • check missed discussions
  • outstanding prs
  • check blocked tasks
  • tasks from goals

End

  • check email
version: 1
imports: []
schemas:
- id: user
title: user
parent: root
children:
- kevin
# other entries omitted for brevity
# ...
- any
- id: kevin
children:
- pattern: monthly
children:
- pattern: "[0-2][0-9][0-9][0-9]"
children:
- pattern: "[0-1][0-9]"
children:
- pattern: investor-updates
template: handbook.sop.investor-updates
- pattern: partner-updates
template: area.admin.sop.potential-partners
- pattern: weekly
desc: "![[dendron://private/scratch.2021.11.18.094459.org-private-structure#ops,1:#*]]"
children:
- pattern: "[0-2][0-9][0-9][0-9]"
children:
- pattern: "[0-1][0-9]"
children:
- pattern: "[0-3][0-9]"
template: user.kevin.temp.weekly-journal
children:
- pattern: plan
template: templates.weekly-planning.user
- pattern: plan-team
template: user.kevin.temp.weekly-team-plan
- pattern: triage
template: templates.task.triage
- pattern: metric-tasks
- pattern: journal
children:
- pattern: "[0-2][0-9][0-9][0-9]"
children:
- pattern: "[0-1][0-9]"
children:
- pattern: "[0-3][0-9]"
template: user.kevin.temp.journal
children:
- pattern: com
title: community
children:
- pattern: issue
- id: jonathan-tuning
- pattern: tuning
template: dendron.sop.meet-tuning.temp.kevin
- pattern: m
title: meet
- pattern: issue
namespace: true
template: templates.issue
- pattern: pr
title: pull request feedback
namespace: true
template: templates.pr-feedback
- pattern: john
- pattern: jon
- id: weekly-planning
pattern: plan
template: templates.weekly-planning.user
- id: any
pattern: "*"
desc: "for everyone"
children:
- id: weekly
desc: "weekly journal"
children:
- pattern: "[0-2][0-9][0-9][0-9]"
children:
- pattern: "[0-1][0-9]"
children:
- pattern: "[0-3][0-9]"
template: templates.weekly-journal
children:
- pattern: plan
template: templates.weekly-planning.user
- pattern: onboarding
template: templates.people.onboarding
{
// == Workbench
// adds a blue underline to tabs, makes them easier to distinguish
"workbench.colorCustomizations": {
"tab.activeBorder": "#1f6fd0"
},
// == Editor
"editor.lineNumbers": "relative",
"editor.formatOnSave": false,
"editor.snippetSuggestions": "none",
"editor.unusualLineTerminators": "off",
// == Unsorted
"workbench.editor.enablePreview": false,
"workbench.editor.showTabs": true,
"security.workspace.trust.enabled": false,
"editor.tabCompletion": "on",
"editor.insertSpaces": true,
"workbench.editor.enablePreviewFromQuickOpen": false,
"zenMode.fullScreen": false,
"zenMode.hideLineNumbers": false,
"zenMode.hideStatusBar": false,
"zenMode.hideActivityBar": true,
"zenMode.silentNotifications": true,
"workbench.editor.pinnedTabSizing": "shrink",
"gitlens.advanced.messages": {
"suppressGitVersionWarning": true
},
"explorer.confirmDelete": false,
// === Other
"editor.multiCursorModifier": "ctrlCmd",
"debug.onTaskErrors": "debugAnyway",
// === Language Specific
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[markdown]": {
// based on https://stackoverflow.com/questions/39972256/unable-to-turn-off-code-suggestions-in-visual-studio-code
"editor.formatOnSave": false,
"editor.defaultFormatter": "tehnix.vscode-tidymarkdown",
"editor.tabSize": 4
},
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[yaml]": {
"editor.defaultFormatter": "redhat.vscode-yaml"
},
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"/private/tmp/*": true,
"/private/tmp/a": true
},
"search.exclude": {
"**/node_modules": true,
"**/bower_components": true,
".dendron.cache*": true
},
// === Extensions
"markdown-checkbox.dateFormat": "YYYY-MM-DD HH:mm",
"pasteImage.path": "${currentFileDir}/assets",
"markdownShortcuts.icons.bold": false,
"markdownShortcuts.icons.italic": false,
"markdownShortcuts.icons.strikethrough": false,
"markdownShortcuts.icons.bullets": false,
"vim.statusBarColorControl": false,
"githubPullRequests.queries": [
{
"label": "Waiting For My Review",
"query": "is:open review-requested:${user}"
},
{
"label": "Assigned To Me",
"query": "is:open assignee:${user}"
},
{
"label": "Created By Me",
"query": "is:open author:${user}"
},
{
"label": "Involves Me",
"query": "is:open involves:${user}"
}
],
"workbench.sideBar.location": "left",
"gitlens.gitCommands.closeOnFocusOut": true,
"git.confirmSync": false,
"projectManager.git.baseFolders": [
"/Users/kevinlin/projects/dendronv2/ref",
"/Users/kevinlin/projects/vscode-extension/ref"
],
"peacock.favoriteColors": [
{
"name": "Angular Red",
"value": "#dd0531"
},
{
"name": "Azure Blue",
"value": "#007fff"
},
{
"name": "JavaScript Yellow",
"value": "#f9e64f"
},
{
"name": "Mandalorian Blue",
"value": "#1857a4"
},
{
"name": "Node Green",
"value": "#215732"
},
{
"name": "React Blue",
"value": "#61dafb"
},
{
"name": "Something Different",
"value": "#832561"
},
{
"name": "Svelte Orange",
"value": "#ff3d00"
},
{
"name": "Vue Green",
"value": "#42b883"
}
],
"editor.minimap.enabled": false,
"spellright.language": [
"en"
],
"spellright.documentTypes": [
"markdown",
"latex",
"plaintext"
],
"files.autoSave": "off",
"cSpell.userWords": [
"CLIs",
"Dendron",
"Ilana",
"Macbook",
"Templating",
"Vannevar",
"Vannevear",
"XKCD",
"acquihire",
"airtable",
"dendronhq",
"destructure",
"distro",
"journaling",
"noindex",
"notesdir",
"ostracization",
"roadmap",
"rsync"
],
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"cSpell.enabled": false,
"[javascript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"python.languageServer": "Pylance",
"macros": {
"postpone": [
"editor.action.clipboardCopyAction",
"cursorLineStart",
"cursorRight",
"cursorRight",
"cursorRight",
{
"command": "type",
"args": {
"text": "i"
}
},
{
"command": "type",
"args": {
"text": ">"
}
},
"deleteRight",
"exten"
],
"newDay": [
"dendron.createJournalNote",
{
"command": "type",
"args": {
"text": "enter"
}
},
]
},
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"githubIssues.queries": [
{
"label": "My Issues",
"query": "default"
},
{
"label": "Issues",
"query": "state:open repo:${owner}/${repository} sort:updated-desc"
}
],
"workbench.statusBar.visible": true,
"diffEditor.renderSideBySide": true,
"debug.javascript.autoAttachFilter": "disabled",
"extensions.ignoreRecommendations": true,
"editor.accessibilitySupport": "off",
"git.autofetch": true,
"security.workspace.trust.untrustedFiles": "open",
"editor.tabSize": 2,
"editor.cursorStyle": "line",
"editor.wordSeparators": "/\\()\"':,.;<>~!@#$%^&*|+=[]{}`?-",
"editor.wordWrap": "off",
"redhat.telemetry.enabled": false,
"markdownFormatter.formatOpt": {
"indent_size": 4
},
"markdownlint.config": {
// ~~~ bullets
// spacing and indenting for bullets
// no asterix
"MD004": false,
"MD007": false,
"MD025": false,
"MD032": false,
"MD031": false,
// ~~~ headers
// no out of order headers
"MD001": false,
// blanks around headers
"MD022": false,
// header style
"MD003": false,
// duplicate headers
"MD024": false,
// ~~~ other
// bare urls
"MD034": false,
// inline html
"MD033": false,
"MD018": false,
"MD040": false,
"MD046": false,
},
"gitlens.mode.active": "zen",
"diffEditor.ignoreTrimWhitespace": false,
}

Goals

Multi Week Projects

Assigned

sunday

  • *** prio

  • [[Ind Plan|user.kevin.weekly.$dd.plan]]

  • [[Team Plan|weekly.journal.$dd.plan]]

  • [[Team Priorities|dendron://private/user.kevin.weekly.$dd.plan-team]]

  • *** rest

  • Daily meet discussion points

monday

  • *** prio

  • [[dendron://admin/user.derek.feedback.$dd]]

  • *** rest

  • [[Weekly Release Prep|dendron://private/ops.release.regular.$dd]]

tuesday

  • *** prio

  • [[Weekly Release Execute|dendron://private/ops.release.regular.$dd]]

  • [[dendron://admin/user.john.feedback.$dd]]

  • [[dendron://admin/user.tuling.feedback.$dd]]

  • *** rest

wednesday

  • *** prio
  • [[dendron://admin/user.hikchoi.feedback.$dd]]

thursday

  • *** prio

  • weekly discussion items

  • *** rest

  • [[Execute metrics tasks|user.kevin.weekly.$dd.metric-tasks]]

friday

  • *** prio
  • [[dendron://private/ops.release.early.$dd]]
  • [[dendron://admin/user.kaan.feedback.$dd]]
  • [[Jonathan|dendron://admin/user.kevin.journal.$dd.tuning]]

saturday

Meta

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment