Skip to content

ux: add Ctrl+Ins copy shortcut in diff view - #2657

Merged
love-linger merged 2 commits into
sourcegit-scm:developfrom
bartizan:add-ctrlIns-shortcut-in-diffview
Aug 27, 2026
Merged

ux: add Ctrl+Ins copy shortcut in diff view#2657
love-linger merged 2 commits into
sourcegit-scm:developfrom
bartizan:add-ctrlIns-shortcut-in-diffview

Conversation

@bartizan

Copy link
Copy Markdown

@bartizan
bartizan marked this pull request as ready for review August 26, 2026 18:55
Comment thread src/Views/TextDiffView.axaml.cs Outdated
if (e.KeyModifiers.Equals(OperatingSystem.IsMacOS() ? KeyModifiers.Meta : KeyModifiers.Control))
{
if (e.Key == Key.C)
if (OperatingSystem.IsMacOS() ? e.Key == Key.C : e.Key is Key.C or Key.Insert)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest to just remove the OperatingSystem.IsMacOS.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@love-linger love-linger self-assigned this Aug 27, 2026
@love-linger love-linger added the enhancement New feature or request label Aug 27, 2026
@love-linger
love-linger merged commit 141b299 into sourcegit-scm:develop Aug 27, 2026
@bartizan
bartizan deleted the add-ctrlIns-shortcut-in-diffview branch August 27, 2026 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants