Skip to content

<operator><number>G only deletes until line number #1255

@unrealapex

Description

@unrealapex

Problem

When deleting to a line with <operator><number>G, vis only deletes up to the line instead of also deleting the given line number. Other operators correct delete the given line as well.

Steps to reproduce

  1. Create the testing file:
foo
bar
  1. d2G
  2. both lines should be deleted but only the first line foo is deleted

vis version (vis -v)

vis v0.9-git +curses +lua +acl

Terminal name/version

foot version: 1.22.3 -pgo +ime +graphemes -assertions

$TERM environment variable

foot

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions