-
Notifications
You must be signed in to change notification settings - Fork 29.3k
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
Access to KeybindingService in extension API #1432
Labels
Milestone
Comments
egamma
added
VIM
VIM issue
api
feature-request
Request for new features or functionality
labels
Dec 18, 2015
@alexandrudima fyi |
This was referenced Jan 4, 2016
This was referenced Mar 2, 2016
Closed
@aioutecism This is now possible on master. e.g.: vscode.commands.executeCommand('setContext', 'isVimInsertMode', true); Please see https://github.com/alexandrudima/vscode-vim if you are authoring a vim emulation extension for VS Code. |
Cooooool! |
I think the insider version will be released tomorrow. |
@alexandrudima |
This was referenced Mar 14, 2016
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm currently building an vim extension for vscode when I encountered this problem.
I need to bind keys such as
i
inNormal Mode
and unbind it inInsert Mode
so suggestions and other vscode's builtin features could work as normal.In detail, my desired package.json can be:
It would be a great help if extension can access
KeybindingService
to register context to keybindings or bind/unbind in runtime.ps: I can mimic all the default behaviours in
Insert Mode
, but that's just a lot of duplicate code and unnessery time.The text was updated successfully, but these errors were encountered: