Community
    • Login

    how to restore default shortcuts

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    7 Posts 3 Posters 3.3k Views 2 Watching
    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 SujoldzicE Offline
      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 SumnerS 1 Reply Last reply Reply Quote 1
      • Scott SumnerS Offline
        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 SujoldzicE Offline
          Edin Sujoldzic
          last edited by

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

          Scott SumnerS 1 Reply Last reply Reply Quote 0
          • Scott SumnerS Offline
            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 SujoldzicE Offline
              Edin Sujoldzic
              last edited by

              seems you’re a npp guru. thanks again.

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

                @guy038,

                Need…one…more! :

                Imgur

                HAHAhaha

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

                  @Scott-Sumner

                  got one more ;-)

                  1 Reply Last reply Reply Quote 1

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  • First post
                    Last post
                  The Community of users of the Notepad++ text editor.
                  Powered by NodeBB | Contributors