Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

My question is pretty straight-forward, is there a way in Notepad++ to expand and collapse blocks with keyboard shortcut? I already know about the alt+0 and alt+shift+0 to expand / collapse all blocks but i want to achieve this for a single block.

The behavior i want to reproduce is when you click the little +/- symbol near a code or xml block but with keyboard only.

share|improve this question

2 Answers 2

up vote 8 down vote accepted

Ctrl+Alt+F collapse current level and Ctrl+Alt+Shift+F expand it.

share|improve this answer

Try using ALT-3 and for element level condense and collapse.

This will condense all siblings of the root node one by one.

share|improve this answer
    
I don't think your command does what OP described. However, it seems to do something. Care to explain what and how? –  Konrad Viltersten Dec 5 at 15:11

Your Answer

 
discard

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.