Skip to content

v0.10.7

Latest

Choose a tag to compare

@github-actions github-actions released this 02 Dec 17:21
94070a1

What has changed?

neomd 0.10.7 is a small release with one change: the attachment picker now remembers where you last attached a file. When you add several screenshots or documents to mails in a row, yazi opens in that folder instead of neomd's working directory, so you no longer navigate back to it each time.

Highlights

  • The attachment picker opens in the last-used folder — after you attach a file with a on the pre-send screen or <leader>a in nvim, its folder is remembered in ~/.cache/neomd/attach_lastdir, and the next picker starts there. If that folder no longer exists, yazi opens where it did before.
  • Both pickers share the same folder — the pre-send a picker and the nvim <leader>a helper read and write the same file, so a pick in one is picked up by the other.
  • Several attachments in one go — this already worked and is now spelled out in the nvim picker title: mark files with <Space> in yazi and press <Enter> to attach all of them at once.
  • Only for yazi — the remembered folder is used only when the picker is yazi. A custom $NEOMD_FILE_PICKER is started as before, since it may not accept a start directory.

Fixes

  • The attachment picker always started in neomd's working directory (for example a repository root), so every attachment meant navigating to the same folder again. It now starts in the folder of the last attached file.

See the Sending docs page for details on attachments and the file picker.

Changelog

Other

  • 8c1e173 adding multiple attachments in one go, and remember last attached dir
  • 94070a1 new small release