tackline

Keys

Everything uses plain keys or Ctrl: macOS terminals keep Cmd shortcuts for themselves, so tackline never uses them. Press ? in the app for a quick list.

Anywhere #

Key Action
1 / 2 / 3 Files / Diff / Session view
Ctrl+N New session
Ctrl+O Pick the active session
Shift+Tab Switch to the next session
Ctrl+P Find a file
Ctrl+F Search code in the repo
? Help
q Quit (everything is already saved)
Esc Close a popup

File tree and diff file list #

Key Action
j / k Down / up
Enter Tree: open a file, open or close a folder. Diff list: go to the diff
l / h Tree: open / close a folder
Tab Switch to the code
r Diff list: reload the diff

Code #

Key Action
j k h l, arrows Move
g g / G Top / bottom
Ctrl+D / Ctrl+U Half a page down / up
0 / $ Start / end of the line
: then a number Go to line
/ then n / N Search this file, next / previous match
w Wrap long lines on / off
V / v Select lines / characters (again: stop)
Shift+↑ Shift+↓ / Shift+← Shift+→ Select lines / characters
Esc Clear the selection
c Note the selection or the line; on a noted line, edit that note
d Delete the note on this line (asks first)
Enter Show the whole note on this line
r Diff view: reload the diff
Tab Switch to the tree or file list

Note popup #

Key Action
Enter Save
\ then Enter New line
Shift+Enter New line, where the terminal reports it
Tab / Shift+Tab Next / previous session; moves an edited note
Esc Cancel

Session view #

Key Action
j / k Select a note
Enter Jump to the note’s code
e Edit the note
d Delete the note (asks first)
J / K Move the note down / up
y Copy the compiled prompt
r Rename the session
Key Action
typing The query
↑ / ↓, Ctrl+P / Ctrl+N Previous / next result
Enter Open the result (repo search: search first, then open)
Esc Close

In the session picker (Ctrl+O), j / k or the arrows move and Enter picks.

Mouse #

Action Effect
Wheel or trackpad Scroll the code (in the Session view: select notes)
Click in the code Place the cursor
Drag in the code Select characters
Click in the diff file list Show that file
Click in the file tree Open a file, open or close a folder
Wheel over the file tree Move through the tree