aerc/commands/msg
Tim Culverhouse 4753cfd3e3 visual-mode: deselect messages after performing command
In order to better align to vim functionality: deselect visual mode
selections after performing a command on the selection. This patch also
introduces a new command to allow for re-selecting (remarking) the
previous selection set so that commands can be chained together. The
deselection only applies to msg commands that *do not* move the message
from the store (those types of commands already deselect):
- read/unread
- flag/unflag
- modify-labels
- copy
- pipe

Previous usage to mark several messages as read and deselect all:
Vjjj:read<Enter>:unmark -a<Enter>

New usage, similar to vim:
Vjjj:read<Enter>

To chain a command together:
Vjjj:read<Enter>:remark<Enter>{next command}<Enter>

Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
Acked-by: Robin Jarry <robin@jarry.cc>
2022-06-14 22:12:42 +02:00
..
archive.go logging: added a log on panic 2022-03-23 20:56:09 +01:00
copy.go visual-mode: deselect messages after performing command 2022-06-14 22:12:42 +02:00
delete.go refactor: refactor pgp implementation 2022-04-27 09:46:11 +02:00
forward.go forward: allow ':forward -A' with no address 2022-04-14 23:48:25 +02:00
invite.go invites: reply with accept, accept-tentative or decline 2022-05-31 14:32:24 +02:00
mark.go visual-mode: deselect messages after performing command 2022-06-14 22:12:42 +02:00
modify-labels.go visual-mode: deselect messages after performing command 2022-06-14 22:12:42 +02:00
move.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
msg.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
pipe.go visual-mode: deselect messages after performing command 2022-06-14 22:12:42 +02:00
read.go visual-mode: deselect messages after performing command 2022-06-14 22:12:42 +02:00
recall.go recall: mention the -f option in the error message 2022-04-29 15:02:28 +02:00
reply.go all: fix minor issues found by staticcheck 2022-03-12 21:00:23 +01:00
toggle-threads.go store: keep current message selected 2022-04-17 12:18:33 +02:00
unsubscribe.go unsubscribe: select method with the selector dialog 2022-05-31 14:32:33 +02:00
unsubscribe_test.go Fix linter warnings 2021-02-26 22:14:58 +01:00
utils.go go.mod: change base git url 2021-11-05 10:21:45 +01:00