Open werunom opened 6 years ago
@werunom you can add your own custom keybindings as described in the flight manual.
I suggest you don't use the tab key by itself since it's likely you'll want that for normal text editing.
Currently there is no command to toggle folding for a section so you'll need one keybinding for fold section and one keybinding for unfolding the current row. The standard Atom Editor bindings are Ctrl+Alt+[ to fold and Ctrl+Alt+] to unfold, so I would use those since they won't be used for anything else in markdown files
okay, just had another look. There's no 'unfold' command because we can just use the normal editor unfold command. So add this to your keymap (windows):
'atom-workspace atom-text-editor:not([mini])':
'ctrl-alt-[': 'mdfld:fold-current-row'
to use ctrl-alt-[ to fold and ctrl-alt-] will unfold using Atom's normal unfolding mechanism
Thanks for this new package. The older one is not being actively maintained.
I would request you to provide a hotkey for folding and unfolding of the headers. For instance, pressing
tab
can fold/unfold successively.