Keyboard shortcuts

/ or ⌘/Ctrl K
Find a note
j / k
Next / previous section or linked note
h / l
Collapse or go to parent / expand or enter
e or Alt-click
Read a linked note here
o
Open focused note on its own
g g / G
First / last section or linked note
g h / g a
Home / all notes
g b / g t
Backlinks / table of contents
t
Cycle System, Light, Dark
? / Esc
Show / close this reference

Search: ↑/↓ or Ctrl N/P, Enter to open. Shortcuts pause while typing.

git [08d3feef]

Tags: computers

1. Finding out what changed and piping

  • git whatchanged --name-only --pretty="" origin..HEAD | rg ".ex" --fixed-strings | xargs <LINTER>
  • echo '' | fzf --print-query --preview 'echo "a\nb\nc\nd" | awk {q}'
  • echo '' | fzf --preview 'ls {q}'
  • git grep "refund_account" $(git log --since="1 month ago" --format=format:%H_