We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Add this to extension.ts:
extension.ts
vscode.commands.registerCommand('extension.vim_Insert', () => { TextEditor.Insert("a"); TextEditor.Insert("b"); TextEditor.Insert("c"); });
Add this to packages.json:
packages.json
... "contributes": { "commands": [ { "title": "Vim Insert", "command": "extension.vim_Insert" } ], ...
If I try to use this command in an empty buffer, only a gets inserted.
a
This is an issue for mappings, where iabc should insert abc into the buffer, but currently VSCodeVim will only insert a. (Unmerged branch.)
iabc
abc
The text was updated successfully, but these errors were encountered:
Good catch. I'll return the promise.
Sorry, something went wrong.
263a5ef
It's a little bit more verbose but you'll now need to:
vscode.commands.registerCommand('extension.vim_Insert', () => { TextEditor.Insert("a").then(TextEditor.Insert("b")).then(TextEditor.Insert("c")); });
No branches or pull requests
Add this to
extension.ts
:Add this to
packages.json
:If I try to use this command in an empty buffer, only
a
gets inserted.This is an issue for mappings, where
iabc
should insertabc
into the buffer, but currently VSCodeVim will only inserta
. (Unmerged branch.)The text was updated successfully, but these errors were encountered: