Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Chillee committed May 6, 2017
1 parent 95f74d7 commit 433176c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
{
"key": "tab",
"command": "extension.vim_tab",
"when": "editorFocus && vim.active && vim.mode == 'Normal' && !inDebugRepl"
"when": "editorFocus && vim.active && !inDebugRepl"
},
{
"key": "ctrl+r",
Expand Down
6 changes: 6 additions & 0 deletions src/actions/commands/insert.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,12 @@ export class CommandInsertInInsertMode extends BaseCommand {

vimState.cursorPosition = vimState.cursorPosition.getLeft();
vimState.cursorStartPosition = vimState.cursorStartPosition.getLeft();
} else if (char === "<tab>") {
vimState.recordedState.transformations.push({
type: "tab",
diff: new PositionDiff(0, 0),
cursorIndex: this.multicursorIndex
});
} else {
if (vimState.isMultiCursor) {
vimState.recordedState.transformations.push({
Expand Down

0 comments on commit 433176c

Please sign in to comment.