how to restore default shortcuts



  • Macro - Modify Shortcut/Delete Macro… - Main menu
    Here I change/delete some shortcuts.
    Now I want get them back.
    Is there a way to restore default settings?



  • @Edin-Sujoldzic

    To restore only shortcuts to their default settings, do the following:

    • restart Notepad++
    • make no changes using the Shortcut Mapper
    • open shortcuts.xml into an editing tab
    • delete everything between <InternalCommands> and </InternalCommands>, leaving those tags there OR replace same (but this time remove those tags too!) with <InternalCommands />
    • delete everything between <ScintillaKeys> and </ScintillaKeys>, leaving those tags there OR replace same (but this time remove those tags too!) with <ScintillaKeys />
    • save shortcuts.xml
    • restart Notepad++


  • thanks a lot, it works.
    but this option should be available on click, doesn’t it?



  • @Edin-Sujoldzic

    this option should be available on click

    I don’t know…kind of a rare need. As I recall you’re the first person in 3 years I’ve seen request it.

    ALTERNATE METHOD FOR THE ABOVE: You can also, with Notepad++ not running, delete shortcuts.xml to restore default keycombos, but this can destroy other things you’ve set up (e.g., macros), so unless you are sure you have nothing to lose, stick with the editing-of-shortcuts.xml approach. Note that in the “delete it” case, the next run of Notepad++ won’t recreate shortcuts.xml…unless you make a change that will force it to (such as changing a keymapping or creating a macro) the next time Notepad++ is exited.



  • seems you’re a npp guru. thanks again.



  • @guy038,

    Need…one…more! :

    Imgur

    HAHAhaha



  • @Scott-Sumner

    got one more ;-)


Log in to reply