← Back to context

Comment by jonatanheyman

2 years ago

> Where are the notes stored?

The whole buffer is stored in a file called buffer.txt located in the user data directory (varies depending on platform, on Mac it's ~/Library/Application Support/Heynote, on Linux ~/.config/Heynote).

> Can I delete a block easily?

I do that by pressing: C-A Backspace Backspace.

> After creating an additional cursor (great extra feature btw) how do I stop creating them, and/or remove one I've created?

Pressing ESC (or C-G in Emacs mode) should remove all extra cursors.

So I can use grep and pbcopy to interact with this on the CLI. Too cool! Thank you for a great app.

  • The buffer file has a syntax for the block separators, but it's human readable. Here's what it looks like:

      ∞∞∞text
      content of note 1
      ∞∞∞text-a
      note 2
      -a denotes that the block language is in autodetect mode and 
     might change
      ∞∞∞css
      .some-class {
    

    etc...