Vim: Ctrl-d at end of file shows error

Created on 11 Jan 2019  路  6Comments  路  Source: VSCodeVim/Vim

Describe the bug
A clear and concise description of what the bug is.

Press down C-d at end of file.

Shows error:

ModeHandler: error handling key=. err=Error: Illegal value for line.

image

/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] error: ModeHandler: error handling key=<C-d>. err=Error: Illegal value for `line`. (at ConsoleForElectron.log (/Users/pine/.vscode-insiders/extensions/vscodevim.vim-1.0.1/node_modules/winston-console-for-electron/dist/index.js:22:21))
t.log @ /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287
/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] TaskQueue: error running task. err=Error: Illegal value for `line`. (at TaskQueue.<anonymous> (/Users/pine/.vscode-insiders/extensions/vscodevim.vim-1.0.1/out/src/taskQueue.js:36:29))
t.log @ /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287
/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:2511 ModeHandler: error handling key=<C-d>. err=Error: Illegal value for `line`.
t.onDidNotificationChange @ /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:2511

To Reproduce
Steps to reproduce the behavior:

Press down C-d at end of file.

Expected behavior
A clear and concise description of what you expected to happen.

No errors.

Screenshots
If applicable, add screenshots to help explain your problem.
If remapping-related, please attach log output: https://github.com/VSCodeVim/Vim#debugging-remappings.

Environment (please complete the following information):

  • Extension (VsCodeVim) version: 1.0.1
  • VSCode version: 1.30
  • OS: macOS 10.13

Additional context
Add any other context about the problem here.

statuduplicate

Most helpful comment

Now it's failing when I press any key in insert mode :( It's happening only when I try to code in Quokka (JS or TS) window

image

All 6 comments

This was fixed on master in #3347

Sorry for the duplicate and thanks for the quick fix! Would love to get a release as this bugs me a lot.

It's still happening for me when I am trying to write something in quokka TS file.

image

should be fixed (again) with https://github.com/VSCodeVim/Vim/pull/3442

Now it's failing when I press any key in insert mode :( It's happening only when I try to code in Quokka (JS or TS) window

image

Happening for java too. Every keystroke fails

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jaredly picture jaredly  路  3Comments

ACollectionOfAtoms picture ACollectionOfAtoms  路  3Comments

gerardmrk picture gerardmrk  路  3Comments

waltiam picture waltiam  路  3Comments

elithrar picture elithrar  路  3Comments