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 +```