Quick paste and shortcuts

Finding a snippet and pasting it without leaving what you are doing, capturing the clipboard into a note, and setting the shortcuts.

Checked on DevNotes 0.12

The quick paste palette

CtrlAltP opens the palette over any application, even when the DevNotes window is closed. It searches all your spaces at once, ignoring the canvas filters: when you recall a snippet, you do not always remember where you filed it.

  1. Type a few letters of the title, the code or a tag.
  2. Choose with the arrows.
  3. CtrlC copies the note and closes the palette: you are back in the application you came from, ready to paste.

A snippet with fields, like {{host}}, first asks for their values: copying a command with holes as it is would give a command you cannot use. Enter or a click opens the note instead of copying it, which also makes the palette a “find this note”.

In the palette
KeysAction
↑↓Go through the results (Tab too)
EnterOpen the note
CtrlCCopy the note and close
EscClose the palette

Nothing matches? The last line offers + Create a note “…” with what you typed.

Capturing the clipboard

CtrlAltV does the opposite of the palette: what you have just copied, wherever it was, becomes a note. CtrlAltN opens an empty note. Both work with the window closed.

From the system tray

The DevNotes icon in the system tray offers Quick paste, New note and Paste from clipboard. By default, closing the window puts it in the system tray, where DevNotes keeps listening for its shortcuts (Close to tray, in the preferences); Start with the system launches it when you log in.

Global shortcuts

Active everywhere, even with the window closed
DefaultAction
CtrlAltPOpen the quick paste palette
CtrlAltVCapture the clipboard into a note
CtrlAltNCreate a note

These three act in all your applications: they take at least one modifier, or the key would be swallowed everywhere. First come, first served: if another application already holds a combination, DevNotes says so at startup, and you choose another.

Switching areas

In all three areas
KeysAction
Ctrl1Go to the notes
Ctrl2Go to the tools
Ctrl3Go to the HTTP client
CtrlShiftTSearch for a tool

Setting your shortcuts

In File → Preferences… → Shortcuts, click an action’s field, then press the combination. DevNotes warns you if another action already has it. Reset goes back to the original.

  • Global: at least one modifier (Ctrl, Alt, Shift or Super).
  • Canvas: a bare letter is enough, since they never act while typing.
  • Fixed: the arrows, Esc, Tab and clicks with Ctrl or Shift do not move. They are navigation, leaving and selection.

The full list of shortcuts, wherever you are, is in About → Keyboard shortcuts. The canvas ones are detailed in Organising and finding.