Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I assign a keyboard shortcut to the Notepad++ command "Reindent XML"?

This menu item is found under TextFX -> TextFX HTML Tidy => Tidy: Reindent XML.

I use this very, very frequently (and repeatedly on batches of 5-8 files), and it's annoying to do it by mouse. I looked through the Settings -> Shortcut Mapper ... menu item, but I didn't see any way to do it.

share|improve this question
up vote 2 down vote accepted

I expected it to be listed under Shortcut mapper -> Plugin commands, but I didn't see it (too bad there's no way to search or at least sort that list).

An alternative that I use is the XML Tools plugin. I have a shortcut for "Pretty print (XML only - with line breaks) of Ctrl+Alt+Shift+B.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.