Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-12862

Allow Mac/OSX yank hotkey (Control + Y) for CodeMirror input fields

XMLWordPrintable

    • 6
    • 1
    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.
    • Codemirror already allows to use emacs key bindings, therefore we are releasing a bugfix versions where these are enabled.

      On Mac systems it's possible to kill to end of line using Control + K, and then paste the killed text through using Control + Y.

      However, since CodeMirror has a default hotkey binding of CTRL+Y for 'redo', which Bitbucket converts to 'Command + Y', this causes Control + Y to do nothing on input fields where CodeMirror is involved (such as PR comments).

      It's requested that Control + Y be set to 'yank' while keeping the 'redo' keybinding of 'Command + Y'.

              cb3955cd8c67 Carlos Sanchez Rosa
              eslaughter@atlassian.com Evan Slaughter
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: