Skip to content

Commit

Permalink
restore easyalign code
Browse files Browse the repository at this point in the history
  • Loading branch information
dofy committed Nov 15, 2023
1 parent 7a26739 commit d7983da
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions en/plugins/easyalign.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,35 +75,35 @@ let g:easy_align_delimiters = {
> Try the following operations in the code below:
```javascript
let a = 1; // one
let bcd = (test = 2); // two
let longword = (others = "some content"); // string
let a=1;// one
let bcd=test=2; // two
let longword=others= 'some content';// string
```

> First locate the cursor to any sentence in the above code, press
> `gaip<Space>`, you should get the following results
```javascript
let a = 1; // one
let bcd = (test = 2); // two
let longword = (others = "some content"); // string
let a=1;// one
let bcd=test=2; // two
let longword=others= 'some content';// string
```

> Keep the cursor still, press `gaip=`, you should get the following results
```javascript
let a = 1; // one
let bcd = (test = 2); // two
let longword = (others = "some content"); // string
let a = 1;// one
let bcd = test=2; // two
let longword = others= 'some content';// string
```

> Keep the cursor still, press `u`, then press `gaip*=`, you should get the
> following results
```javascript
let a = 1; // one
let bcd = (test = 2); // two
let longword = (others = "some content"); // string
let a = 1;// one
let bcd = test = 2; // two
let longword = others = 'some content';// string
```

The meaning of the keys is explained below:
Expand Down Expand Up @@ -131,9 +131,9 @@ The meaning of the keys is explained below:
> will look like this
```javascript
let a = 1; // one
let bcd = (test = 2); // two
let longword = (others = "some content"); // string
let a = 1; // one
let bcd = test = 2; // two
let longword = others = 'some content'; // string
```

### Explanation of Match Characters
Expand Down

0 comments on commit d7983da

Please sign in to comment.