Skip to content

Swap-line shortcuts don't work on macOS #863

@ouuan

Description

@ouuan

Describe the bug

When I try to swap lines with the command that CP Editor has configured in macOS (Command+Shift+(Up or Down Arrow)) it doesn't work, because in macOS, the shortcut Command+Up Arrow for example when used in text, moves the cursor from the current cursor position to the beginning, and Command+Down to the end

So when you also use Shift, what you get is that you select all the way to the beginning or all the way to the end, depending on the direction you have chosen.

The thing is that this shortcut is native to macOS and takes precedence over CP Editor, i.e. it never swaps lines.

Additional context

what is the possibility to change the shortcut by another key combination like in Sublime Text(Command+Cntrl+Up arrow) or VSCode(Alt+Up arrow)

#862

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomersmacOSMacOS related Issue

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions