Update Readme and docs regarding {visual}X

This commit is contained in:
Christian Wellenbrock 2014-02-25 01:37:04 +01:00
parent ff52604e80
commit 0e43efeede
2 changed files with 4 additions and 2 deletions

View File

@ -21,7 +21,7 @@ Clear any {motion} pending for exchange.
### Notes about the mappings ### Notes about the mappings
* `cx` can also be used from visual mode, which is sometimes easier than coming * `X` can be used from visual mode, which is sometimes easier than coming
up with the right {motion} up with the right {motion}
* If you're using the same motion again (e.g. exchanging two words using * If you're using the same motion again (e.g. exchanging two words using
`cxiw`), you can use `.` the second time. `cxiw`), you can use `.` the second time.

View File

@ -20,7 +20,6 @@ cx{motion} Used in pairs.
exchanged. Any valid {motion} can be used. exchanged. Any valid {motion} can be used.
SECOND USE: define the second region of text and SECOND USE: define the second region of text and
perform the exchange. perform the exchange.
Can also be used in |visual-mode|.
Note: If a region was defined accidentally, it can Note: If a region was defined accidentally, it can
be cleared with |cxc| be cleared with |cxc|
@ -31,6 +30,9 @@ cxx Like |cx|, but for the current line. |linewise|
cxc Clear any defined region of text (previously defined cxc Clear any defined region of text (previously defined
by a |cx| command) by a |cx| command)
*v_X* *exchange-visual*
{visal}X Can be used in |visual-mode|.
EXAMPLES *exchange-examples* EXAMPLES *exchange-examples*
In the text below, we will exchange everything inside the parentheses with In the text below, we will exchange everything inside the parentheses with