Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    how to restore default shortcuts

    Help wanted · · · – – – · · ·
    3
    7
    1723
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Edin Sujoldzic
      Edin Sujoldzic last edited by

      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?

      Scott Sumner 1 Reply Last reply Reply Quote 1
      • Scott Sumner
        Scott Sumner @Edin Sujoldzic last edited by

        @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++
        1 Reply Last reply Reply Quote 4
        • Edin Sujoldzic
          Edin Sujoldzic last edited by

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

          Scott Sumner 1 Reply Last reply Reply Quote 0
          • Scott Sumner
            Scott Sumner @Edin Sujoldzic last edited by Scott Sumner

            @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.

            1 Reply Last reply Reply Quote 3
            • Edin Sujoldzic
              Edin Sujoldzic last edited by

              seems you’re a npp guru. thanks again.

              1 Reply Last reply Reply Quote 1
              • Scott Sumner
                Scott Sumner last edited by

                @guy038,

                Need…one…more! :

                Imgur

                HAHAhaha

                Meta Chuh 1 Reply Last reply Reply Quote 2
                • Meta Chuh
                  Meta Chuh @Scott Sumner last edited by

                  @Scott-Sumner

                  got one more ;-)

                  1 Reply Last reply Reply Quote 1
                  • First post
                    Last post
                  Copyright © 2014 NodeBB Forums | Contributors