Update README.md

This commit is contained in:
Junegunn Choi
2013-09-17 03:05:43 +09:00
parent 639ade715b
commit 5f5cd49e95

View File

@@ -61,18 +61,12 @@ variant `:EasyAlign!`) in the visual mode.
### Concept of _alignment rule_
> Simple things should be simple,
> complex things should be possible.
> \- Alan Kay
Forget about writing regular expressions every time you do an alignment.
You can do so (we'll see), but I don't believe that it should be the default
way of doing things with this plugin.
An *alignment rule* is a predefined set of options for common alignment tasks,
which is indexed by a single character, *DELIMITER_KEY*. By default, you have
rules indexed by `<space>`, `=`, `:`, `.`, `|`, and `,`, which should cover the
most of the use cases. You can override these rules, and add your own rules.
which is identified with a single character, *DELIMITER KEY*, such as `<space>`,
`=`, `:`, `.`, `|`, and `,`.
Think of it as a shortcut. Instead of writing regular expression and setting
several options, you can just type in a single character.
### Interactive mode