From d68a3f52c1d55c2f1e5ce227fd01b9ed5b3bd586 Mon Sep 17 00:00:00 2001 From: Tom McDonald Date: Thu, 5 Dec 2013 10:35:30 -0500 Subject: [PATCH] Add initial README --- README.md | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d00ac27..daef186 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,20 @@ -vim-exchange +exchange.vim ============ -Easy text exchange operator for Vim +Easy text exchange operator for Vim. Coming soon. + +Mappings +-------- + +`cx` + +On the first use, define the first {motion} to exchange. On the second use, define the second {motion} and perform the exchange. + +`cxc` + +Clear any {motion} pending for exchange. + +Example +------- + +To exchanges two words, place your cursor on the first word and type `cxiw`. Then move to the second word and type `cxiw` again. Note: the {motion} used in the first and second use of `cx` don't have to be the same.