Skip to content

Keyboard shortcut for moving cursor to word/line end / respect defaultkeybinding.dict on macos #15149

@zhizhongpu

Description

@zhizhongpu

Operating system

macOS

Joplin version

3.5.13

Desktop version info

Joplin 3.5.13 (prod, darwin)

Device: darwin, Apple M2 Pro
Client ID: bce356290ea540d0bd4d8c12ac44b8d2
Sync Version: 3
Profile Version: 49
Keychain Supported: Yes
Alternative instance ID: -

Revision: 0c1511f

Backup: 1.5.1
Inline TODO: 2.0.5
macOS theme: 1.5.20
Menu items, Shortcuts, Toolbar icons: 1.1.0

Current behaviour

Pressing Command + Right arrow moves the cursor to the end of line

Expected behaviour

moving the cursor to the end of the word

why? because I have a /Users/XX/Library/Keybindings/DefaultKeyBinding.dict on my Mac with the following content, which maps the shortcut to moving the cursor to the end of the word, instead of line.

    "@\UF703"  = "moveWordForward:";                             /* Cmd  + RightArrow */
    "@\UF703"  = "moveWordRight:";                             /* Cmd  + RightArrow */

It'd be great if Joplin either

  1. respects this, or
  2. allows users to customize keyboard shortcuts for moving cursors

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIt's a bug

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions