mirror of
https://github.com/junegunn/vim-easy-align.git
synced 2025-11-14 04:43:48 -05:00
updates readme
This commit is contained in:
16
README.md
16
README.md
@@ -47,11 +47,6 @@ Examples
|
|||||||
| `<Enter>:` | Alignment around 1st colon |
|
| `<Enter>:` | Alignment around 1st colon |
|
||||||
| ... | ... |
|
| ... | ... |
|
||||||
|
|
||||||
Demo
|
|
||||||
----
|
|
||||||
|
|
||||||
[Screencast](https://vimeo.com/63506219)
|
|
||||||
|
|
||||||
Defining custom alignment rules
|
Defining custom alignment rules
|
||||||
-------------------------------
|
-------------------------------
|
||||||
|
|
||||||
@@ -59,15 +54,20 @@ Define (or override) alignment rules.
|
|||||||
|
|
||||||
```vim
|
```vim
|
||||||
let g:lesser_align_delimiters = {
|
let g:lesser_align_delimiters = {
|
||||||
\ '/': {
|
\ 'x': {
|
||||||
\ 'pattern': '/',
|
\ 'pattern': '[xX]',
|
||||||
\ 'margin_left': ' <<<',
|
\ 'margin_left': ' <<<',
|
||||||
\ 'margin_right': '>>> ',
|
\ 'margin_right': '>>> ',
|
||||||
\ 'stick_to_left': 0,
|
\ 'stick_to_left': 0
|
||||||
\ }
|
\ }
|
||||||
\ }
|
\ }
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Demo
|
||||||
|
----
|
||||||
|
|
||||||
|
[Screencast](https://vimeo.com/63506219)
|
||||||
|
|
||||||
Author
|
Author
|
||||||
------
|
------
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user