https://bugzilla.wikimedia.org/show_bug.cgi?id=33267

       Web browser: ---
             Bug #: 33267
           Summary: ACCEL+K should NOT activate the Link Window
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: VisualEditor
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified


Currently, hitting <control> or <command> + K in the Visual Editor opens a link
dialog.  This is sub-optimal, as <control>-k is (and has been, for about 30
years) the "kill" command in emacs-like editors.  (<ctrl>-k adds to the kill
ring, <ctrl>-y pastes the kill ring into the contents).  

I suggest that the Visual Editor should support these basic commands by
default, without modification via preferences (e.g., "use emacs keybindings"). 
Activation of the link editor should probably be moved to a more intuitive
accelerator anyways ("k" does not suggest "link" to me).

For implementation, the "kill ring" functionality operates thus:  <ctrl>-k
deletes the current line of text, including the EOL character. This text is
copied into the "kill ring" buffer.  Additional <ctrl>-k expressions ''add'' to
the kill ring; ''any'' other activity (including cursor movement) "closes" the
kill ring.  At that point, <ctrl>-y will insert the entire contents of the kill
ring into the text at the point of the cursor.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to