# vim-alignment
**Repository Path**: zczsyqxl/vim-alignment
## Basic Information
- **Project Name**: vim-alignment
- **Description**: A Vim plugin used to do alignment for MACROS, or via the char/string inputted by user.
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: main
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2021-05-11
- **Last Updated**: 2023-08-11
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# vim-alignment
---
### Introduction
A Vim plugin used to do alignment for MACROS, or via the char/string inputted by user.
### Feature
+ **Vim-Script, RegExp**
+ Support to number parameter before the command.
+ Support to regular expression in the string inputted by user.
### Usage
+ Align ***MACRO*** definition: \**l**m

+ Align **with** a ***single char***[^1]: [count]\**l**{char}[^2]

+ Align **with** a ***string***[^3]: [count]\**l**s[^4]

+ Align **after** a ***string***[^3]: [count]\**l**e[^4]

### Example

[^1]: Except **'m','e','s'**, the **{char}** follow **'l'** will be used to do the alignment.
[^2]: **[count]** represents the occurrence times of the ***single char***.
[^3]: Support regular expression, can be a **single char**.
[^4]: **[count]** is optional, default value is **1**. When the ***string*** is a ***single char***, the **[count]** represents the occurrence times of the ***single char***, otherwise, **[count]** represents the column number which is the alignment location.