Menu

How to set a shortcut to the "Duplicate current line" menu item?

Talker
2015-05-29
2015-05-29
  • Talker

    Talker - 2015-05-29

    I want to set a keyboard shortcut to the "Duplicate current line" command but there is no such item in Shortcut mapper's "Main menu" page.
    There is a "SCI_LINEDUPLICATE" item in "Scintilla commands" page but it doesn't work.

    Is there any possibility to set a keyboard shortcut to the "Duplicate current line" command?
    Thanks!

     
  • Loreia2

    Loreia2 - 2015-05-29

    Hi,

    that shortcut is set to CTRL+D, in shortcut mapper, Scintilla commands tab, line 16.

    Basically, if something is selected it gets duplicated, if, nothing is selected entire line is duplicated.

    Best regards,
    Loreia