From 615cc967d0d165be58a346502f0d1cf253d4816b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Fri, 13 Jan 2017 10:29:41 +0100 Subject: sam: create new selections for changed ranges This is akin to sam where dot is set to the result of a command. --- man/vis.1 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'man') diff --git a/man/vis.1 b/man/vis.1 index b902b76..d7cd675 100644 --- a/man/vis.1 +++ b/man/vis.1 @@ -389,6 +389,9 @@ In the description, .Dq range is used to represent whatever address is supplied. .Pp +Many commands create new selections as a side effect when issued from a visual mode. +If so, it is always to the “result” of the change: the new text for an insertion, the +empty string for a deletion, the command output of a filter etc. If after a successful command execution no selections remain, the editor will switch to normal mode, otherwise it remains in visual mode. This allows -- cgit v1.2.3