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

Cannot insert tab in vim keybinding #1070

Open
quickdudley opened this issue Mar 8, 2018 · 3 comments
Open

Cannot insert tab in vim keybinding #1070

quickdudley opened this issue Mar 8, 2018 · 3 comments

Comments

@quickdudley
Copy link
Contributor

To replicate: open yi with the vim keybinding; press 'a' or 'i' to enter insert mode; and press the tab key
Expected results: there should be a tab character in the buffer
Actual results: four spaces are inserted instead.

@noughtmare
Copy link
Member

I think 4 spaces instead of tab is actually a sane default, but I think a configuration option should indeed be added (if there isn't one yet).

@noughtmare
Copy link
Member

noughtmare commented Mar 8, 2018

@quickdudley
Copy link
Contributor Author

expandTabs = False does enable the insertion of tabs but unfortunately breaks auto-indentation in files which are space-indented.

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

No branches or pull requests

2 participants