Outshine is a package for Emacs that allows you to do manual code folding. The advantage of this over syntactic folding is that you can define arbitrary blocks of code and move them around like in the webm above.
Outshine is a outline mode extension, so similar keymaps are defined …