From 377e890242c8d4e1aa33c300677ec3f57477efb8 Mon Sep 17 00:00:00 2001 From: Tom McDonald Date: Mon, 9 Dec 2013 20:59:35 -0500 Subject: [PATCH] Add documentation for cxx --- README.md | 4 ++++ doc/exchange.txt | 3 +++ 2 files changed, 7 insertions(+) diff --git a/README.md b/README.md index 8c405da..babedf0 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,10 @@ Mappings On the first use, define the first {motion} to exchange. On the second use, define the second {motion} and perform the exchange. +`cxx` + +Like `cx`, but use the current line. + `cxc` Clear any {motion} pending for exchange. diff --git a/doc/exchange.txt b/doc/exchange.txt index 554bcb3..fa9e174 100644 --- a/doc/exchange.txt +++ b/doc/exchange.txt @@ -23,6 +23,9 @@ cx{motion} Used in pairs. Note: If a region was defined accidentally, it can be cleared with |cxc| + *cxx* *exchange-define-line* +cxx Like |cx|, but for the current line. |linewise| + *cxc* *exchange-clear* cxc Clear any defined region of text (previously defined by a |cx| command)