Quick Tip: Notepad++ – Modify / Delete Macros

I use Notepad++ (v3.3 currently) for a lot of my development work, this web and I noticed that I couldn’t find any sites that mention how to delete or edit a macro once you create it.

Here is the rather simple method (simple once you find it anyway… it’s not in the “Macro” menu):

  1. From the top menu, prostate select “Settings” => “Shortcut Mapper…”
  2. Scroll down near the very bottom (my macros started at item 60)
  3. Right-click and select either Modify or Delete (double click will act the same as selecting Modify)

Hope that helps someone!

66 thoughts on “Quick Tip: Notepad++ – Modify / Delete Macros

  1. Pingback: 2010 Goals « SeanColombo.com

  2. Thanks! I try to find this method for several days and at last I found it here!
    Also thanks jacko!

  3. another way to modify and delete shortcuts and macros is through:

    Settings > Keyboard > Tab “Macros”

    (shortcuts.xml did not contain my macro, maby because I did not close Notepad++ and it was never actually saved to a file?)

  4. This helped me find and delete macros. I truly wish though that Notepad ++ had what Crimson Editor has. The ability to save a .mac file and give it to other people to use. I did find though that I can copy and paste my macros into the program.

    All I do is copy the macro from my other program, click Macro, Start Recording, paste, then Stop Recording and the macro works when I play it back. Then I save current recorded shortcut with a Name and the shortcut keys I want.

  5. Nope, when macros are recording they’re recording your key presses, and not simply what the result is of your changes.

  6. Thanks man.. Editing and deleting my existing macros saved me hours of work as most of the key combinations of nice-n-easy hand postures were already in use. By editing the macros I could reuse the combinations I wanted. Thanks again.

    @Judith As Jacko said “They’re stored in c:\Documents and Settings\\Application Data\Notepad++\shortcuts.xml” in XP and in Vista they are in C:\Users\\AppData\Roaming\Notepad++\shortcuts.xml. This is not a straight-forward option but you can even send complex macros to anyone you want.

    PS. You wont see recently created/edited macros in shortcuts.xml until you close Notepad++

  7. Replacing with multiple values:

    I have one text file in which I have one number repeated for 1000 time

    and i want to replece the number with 1 to 1000 numbers in order canit be

    possible in notepad++

Leave a Reply

Your email address will not be published. Required fields are marked *