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

Remap tab when no completion is active #204

Open
jeremyong opened this issue May 2, 2019 · 2 comments
Open

Remap tab when no completion is active #204

jeremyong opened this issue May 2, 2019 · 2 comments

Comments

@jeremyong
Copy link

I'd like to perform a remapping of <tab> in insert mode when there isn't a completion context active (as opposed to currently what happens by default which is the insertion of a literal tab (or spaces depending on vim config).

How should I go about this? Thanks!

@ervandew
Copy link
Owner

ervandew commented May 2, 2019

Currently your only option would be to modify supertab. Here is the line that returns a literal tab:

return "\<tab>"

@jeremyong
Copy link
Author

Ah thanks for the response. Any interested in a supertab fallback option of sorts?

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