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

XMLWordPrintable

    • 6
    • 1
    • 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'.

            Assignee:
            Carlos Sanchez Rosa
            Reporter:
            Evan Slaughter
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: