I would like to use F1 as the shortcut for both folding and unfolding a line. I tried setting up the same shortcut for both commands, but after reading the docs I understand why that doesn’t work.
Is there any way to achieve this kind of key binding?