Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Open
kallisti5 opened this issue Nov 27, 2023 · 0 comments
Open

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

kallisti5 opened this issue Nov 27, 2023 · 0 comments

Comments

@kallisti5
Copy link

kallisti5 commented Nov 27, 2023

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)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant