Skip to content

multi-line yank / delete (d1d, d5d, y1y, y5y) #27

@kallisti5

Description

@kallisti5

vi lets you chain together d with number of lines to delete + yank into the clipboard. I've been fiddling with this config but haven't been able to figure it out.

Any ideas if this is something we could add? Example key strokes:

Common usage

  • d1d (delete / yank 1 line)
  • y1y (yank 1 line)
  • d20d (delete / yank 20 lines)

Less common usage

  • d1w (delete / yank 1 word)
  • d1l (delete / yank 1 letter)

same applies for y as the command in most cases (y1w, y1l, etc)

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