• Login
Community
  • Login

how to restore default shortcuts

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
7 Posts 3 Posters 2.7k Views
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.
  • E
    Edin Sujoldzic
    last edited by Jul 19, 2018, 7:53 AM

    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?

    S 1 Reply Last reply Jul 19, 2018, 11:38 AM Reply Quote 1
    • S
      Scott Sumner @Edin Sujoldzic
      last edited by Jul 19, 2018, 11:38 AM

      @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
      • E
        Edin Sujoldzic
        last edited by Jul 19, 2018, 12:39 PM

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

        S 1 Reply Last reply Jul 19, 2018, 12:54 PM Reply Quote 0
        • S
          Scott Sumner @Edin Sujoldzic
          last edited by Scott Sumner Jul 19, 2018, 12:55 PM Jul 19, 2018, 12:54 PM

          @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
          • E
            Edin Sujoldzic
            last edited by Jul 19, 2018, 1:00 PM

            seems you’re a npp guru. thanks again.

            1 Reply Last reply Reply Quote 1
            • S
              Scott Sumner
              last edited by Jul 19, 2018, 8:20 PM

              @guy038,

              Need…one…more! :

              Imgur

              HAHAhaha

              M 1 Reply Last reply Jul 21, 2018, 12:15 PM Reply Quote 2
              • M
                Meta Chuh moderator @Scott Sumner
                last edited by Jul 21, 2018, 12:15 PM

                @Scott-Sumner

                got one more ;-)

                1 Reply Last reply Reply Quote 1
                1 out of 7
                • First post
                  1/7
                  Last post
                The Community of users of the Notepad++ text editor.
                Powered by NodeBB | Contributors