Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extra space after tabulation #65

Open
pkrumins opened this issue Mar 1, 2020 · 3 comments
Open

Extra space after tabulation #65

pkrumins opened this issue Mar 1, 2020 · 3 comments

Comments

@pkrumins
Copy link

pkrumins commented Mar 1, 2020

Hi Matt,

Thanks for creating this great plugin!

I'm wondering why this plugin is adding so much extra space around the results? Here is what I mean. Let's say I have the following text and I'm tabulating it on a space:

a bb ccc dddd e
h e l l o

I run :Tabularize / (with a space after / ) and the result that I get is the following with three spaces between each literal:

a   bb   ccc   dddd   e
h   e    l     l      o

I'm having hard time understanding why is there such an excessive spacing in the result.

The result that I'm expecting is the following:

a bb ccc dddd e
h e  l   l    o

I'd appreciate any insight into this.

Peter

@lesm
Copy link

lesm commented Mar 25, 2020

:Tabularize / \zs/l0l1

@pkrumins
Copy link
Author

Hi @lesm,

Thanks for your response. Is there an easy way? That's a bit too cryptic to understand and type out.

Peter

@lesm
Copy link

lesm commented Mar 27, 2020

There is 😁 and I didn't know

:Tabularize spaces

you can create you own patterns, is in the documentation 😁
:help :Tabularize

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants