mirror of
https://github.com/junegunn/vim-easy-align.git
synced 2025-11-10 10:53:49 -05:00
Update README.md
This commit is contained in:
16
README.md
16
README.md
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user