From e91b50c2e6eb91582e91cac5313914fd47bd457b Mon Sep 17 00:00:00 2001 From: wsdjeg Date: Sun, 26 Nov 2017 23:04:41 +0800 Subject: [PATCH] Update readme --- README.md | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/README.md b/README.md index e348393..a1dd804 100644 --- a/README.md +++ b/README.md @@ -23,8 +23,52 @@ Plug 'Raimondi/delimitMate' ### Expansion of space and CR +| You start with | You get | +| -------------- | ------- | +| `(|)` | `( | )` | + +after press `` in `(|)`, you will get: + +``` +( + | +) +``` + ### Backspace +``` + What | Before | After +============================================== + | call expand(|) | call expand| +--------|-------------------|----------------- + | call expand( | ) | call expand(|) +--------|-------------------|----------------- + | call expand( | call expand(|) + | | | + | ) | +--------|-------------------|----------------- + | call expand(|) | call expand(| +``` + ### Smart Quotes +``` + What | Before | After +======================================= + " | Text | | Text "|" + " | "String| | "String"| + " | let i = "| | let i = "|" + 'm | I| | I'm| +``` + ### BALANCING MATCHING PAIRS + +``` +e.g. typing at the "|": > + + What | Before | After +======================================= + ( | function| | function(|) + ( | |var | (|var +```