A year ago I wrote about Artur Malabarba’s excellent narrow-or-widen-dwim function. Ever since I installed it, I don’t think I’ve once called one of the narrowing functions directly. Since then, Malabarba has posted some updates to his original post making the code better.
His latest update makes it work with any type of block supported by org-narrow-to-block
. If you use narrowing at all, you should definitely install his narrow-or-widen-dwim
function. It will do everything you need without having to remember all those other keystrokes. Malabarba has even replaced the normal narrowing keymap with a direct call to his function. If you are already using his function, take a look at his latest update.