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

Option to indent with spaces instead of tabs #222

Open
metasoarous opened this issue Dec 22, 2020 · 2 comments
Open

Option to indent with spaces instead of tabs #222

metasoarous opened this issue Dec 22, 2020 · 2 comments

Comments

@metasoarous
Copy link

Thanks for the great plugin! I've been loving using this since finding it a few days ago.

It seems like when I indent text with >, the first time it adds 4 spaces. The next time it will add what looks like 4 more spaces, but actually ends up being a tab, which can render differently in different settings and be very confusing.

Can you please either switch to behavior to only insert spaces (come to think of it, being able to set indentation to 2-spaces would be nice as well), or add an option to configure the behavior this way?

Thanks again!

@logicalbhanu
Copy link

logicalbhanu commented Jan 11, 2022

I don't know it would help you or not, but what i do is i set the keymap for tab as four spaces and in that case websites are not interpreting it differently just like the normal set of 4 spaces, here is the line that i add in 'exrc' file :
map! [noremap] <tab> <space><space><space><space>

@metasoarous
Copy link
Author

metasoarous commented Jan 11, 2022

Thanks for the suggestion @logicalbhanu; I haven't been using wasavi for a while now, but if I do again, I will try this out.

danielharbor added a commit to danielharbor/dotfiles that referenced this issue Jan 16, 2023
Performing a manual remap due to what might be a bug in wasavi - akahuku/wasavi#222 (comment)
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