[dev] [vis][PATCH] Implement 'o' in visual mode: go to other end of selection.

From: Marcel Rodrigues <marcelgmr_AT_gmail.com>
Date: Tue, 24 Mar 2015 12:22:14 -0300


This feature makes it easier to extend the selection in both directions.
The behavior is the same as in vim: in visual mode, the 'o' key toggles the
cursor position between the two ends (handles) of the selection range.

The attached patch seems to work as expected but I'm not sure it's the
correct way to implement this (I'm still a bit confused about the different
ways that movements are implemented in vis). Note that it works both on
char-wise and line-wise visual modes (like in vim).


Received on Tue Mar 24 2015 - 16:22:14 CET

This archive was generated by hypermail 2.3.0 : Tue Mar 24 2015 - 16:24:07 CET