Vim: jump to line in command-mode doesn't work.

Created on 12 Jun 2017  路  6Comments  路  Source: VSCodeVim/Vim

Environment:

  • VSCode Version: 1.13.0
  • VsCodeVim Version: 0.8.5
  • OS: Microsoft Windows 7

What happened:

When using the _command-mode_ entry to jump to a line, the editor does nothing.

What did you expect to happen:

Normal vim will jump to the given line number when you enter that as the only entry in a command-mode command.

How to reproduce it:

  1. Open any file with 6+ lines.
  2. Press gg to jump to beginning of the file.
  3. Press :5<CR>.

I'd expect the editor to jump to line 5 after hitting enter.
Note that doing 5gg and 5G both work as expected.
Naturally this should work for any valid line number, I just used an concrete example for clarity.
Also note that I have "vim.enableNeovim": false, but i wouldn't expect that to be necessary for this feature.

Most helpful comment

This also is a regression in macOS:

  • VSCode Version: 1.13.0
  • VSCodeVim Version: 0.8.5
  • OS: macOS 10.12.5

All 6 comments

If you care about this feature, why not just enable neovim?

This is a regression I think? I use this all the time and not having it work without neovim is not a good idea... I think it should definitely be supported by us...

This also is a regression in macOS:

  • VSCode Version: 1.13.0
  • VSCodeVim Version: 0.8.5
  • OS: macOS 10.12.5

Perhaps not my most popular opinion...

Nevertheless, it is a regression that's my fault, and it is now fixed on master.

No worries! Appreciate the quick fix!

Appreciate the fast response!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

spinningarrow picture spinningarrow  路  3Comments

elithrar picture elithrar  路  3Comments

Jimmy-Z picture Jimmy-Z  路  3Comments

typeoneerror picture typeoneerror  路  3Comments

cckowin picture cckowin  路  3Comments