Skip to content

feat!: Collapse all yank-join commands into a single :yank-join with flags #13599

New issue

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

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

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nik-rev
Copy link
Contributor

@nik-rev nik-rev commented May 23, 2025

Instead of 3 similar commands, we now have 1 command :yank-join:

┌────────────────────────────────────────────────────────────────────────────────────────┐
│ Yank the selections joined with a separator                                            │
│ Aliases: yj                                                                            │
│ Flags:                                                                                 │
│   --separator/-s <arg>  Separator to between joined selections [default: newline]      │
│   --register/-r <arg>   Yank into this register                                        │
└────────────────────────────────────────────────────────────────────────────────────────┘
:yank-join

Additionally:

  • Added alias yj for yank-join
  • Added tests for each flag + without

Breaking changes:

  • Removed :clipboard-yank-join, use yank-join --register + instead
  • Removed :primary-clipboard-yank-join, use yank-join --register * instead

@nik-rev nik-rev force-pushed the yank-join branch 6 times, most recently from 477c036 to 813d3eb Compare May 23, 2025 22:36
@the-mikedavis the-mikedavis added R-breaking-change This PR is a breaking change for some behavior A-command Area: Commands labels May 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-command Area: Commands R-breaking-change This PR is a breaking change for some behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants