aerc/commands
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
..
account refactor: refactor pgp implementation 2022-04-27 09:46:11 +02:00
compose pgp: add attach key command 2022-05-06 11:02:55 +02:00
msg visual-mode: deselect messages after performing command 2022-06-14 22:12:42 +02:00
msgview refactor: refactor pgp implementation 2022-04-27 09:46:11 +02:00
terminal go.mod: change base git url 2021-11-05 10:21:45 +01:00
cd.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
choose.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
commands.go commands: fix possible panic in CompletionFromList 2022-03-16 17:02:29 +01:00
ct.go commands: use SelectedAccountUiConfig instead of explicit nil check 2022-03-16 17:02:36 +01:00
exec.go logging: added a log on panic 2022-03-23 20:56:09 +01:00
global.go Implement basic tab completion support 2019-06-29 14:24:19 -04:00
help.go help: add completions 2022-05-23 20:59:10 +02:00
history.go Add command history and cycling 2019-07-26 14:29:34 -04:00
move-tab.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
new-account.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
next-tab.go statusline: implement per-account status 2022-03-18 23:42:07 +01:00
pin-tab.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
prompt.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
pwd.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
quit.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
set.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
term.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
util.go logging: added a log on panic 2022-03-23 20:56:09 +01:00