I have a strange problem which seems to have recently appeared. I used to be able to press the keyboard shortcut CTRL + M + O to \'collapse
The culprit for me was an AutoHotKey script that had Ctrl+M bound but not doing anything. The solution was to remove the un-used binding from the script and re-load the script. After that, everything is working.