Skip to content

'dd' followed by any character jumps cursor to end of file. #3713

@Gurran

Description

@Gurran

Describe the bug
After deleting a line with dd any character afterwards jumps me to the end of the file.

This issue has been marked closed in an old Closed Issue

To Reproduce
Steps to reproduce the behavior:

  • Open any file
  • Remove a line in normal mode ('dd')
  • Enter any character

Expected behavior
Not jumping to end of file.

Environment:

  • Extension (VsCodeVim) Version: 1.7.0
  • VSCode version: 1.34.0-insider (user setup)
  • OS: Windows_NT x64 10.0.17134
  • Date: 2019-04-30T08:17.612Z

Additional context

VsCodeVim settings
{
    "vim.easymotion": true,
    "vim.textwidth": 140,
    "vim.useCtrlKeys": false,
    "vim.history": 100,
    "vim.insertModeKeyBindings": [
        {
            "before": ["j", "j"],
            "after": ["<Esc>"]
        }
    ],
    "vim.normalModeKeyBindingsNonRecursive": [
        {
            "before": ["<C-n>"],
            "commands": [":nohl"]
        }
    ],
    "vim.leader": ",",
    "vim.sneak": false,
    "vim.incsearch": true,
    "vim.useSystemClipboard": true,
    "vim.hlsearch": true,
    "vim.searchHighlightColor": "rgba(150, 150, 255, 0.3)",
    "vim.surround": true
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions