2021-05-17 10:54:09, Anton Khirnov <anton@khirnov.net> wrote:
> Here's my current roadmap:
Lots if interesting features/fixes!
> - commands themselves should probably be synchronous [...] to
> prevent races where a later command conflicts with an earlier one
Yeah, that race condition is a annoyance. Quitting alot helps at least.
> * atomic complex retagging commands
> e.g. add+remove in the same command
sup had something like that. The retag operation when you had multiple
messages used +/- prefixes to add/remove tags from those messages whilst
leaving other tags on them untouched. I do not know if this was atomic,
but at least it was idempotent.
> * running external commands in a separate tmux pane/terminal
That is a good idea. Quitting the editor and using ";" to temporary
switching to another buffer (e.g. reading something elsewhere in a
thread) works, but is a hassle. [vim-dispatch] does something similar
for e.g. external compilation/tests from the editor, so maybe they
figured out some indicator for when tmux panes/windows completes.
[vim-dispath]: https://github.com/tpope/vim-dispatch
> - search+highlight
Yeah, I am still automatically trying "/" in alot (the hotkey that
searched like that in sup) to search in the buffer.
> - properly handle focus switching between the thread tree and message body
Mapping something to "move toggle" worked okay to switch focus between
these panes. Was kind of a surprise when scrolling within a message body
scrolled to the next message though.
> - pipeto refactoring
Yeah, as it is now I only use it with less to read the raw body. I think
pipeto based on a selected body/attachment for instance would be useful.
--
johs (Johannes Larsen), (+47) 41435451