ignore quoted characters when splitting keybindings into actions by matthias314 · Pull Request #3612 · micro-editor/micro (original) (raw)
Currently a keybinding of the form
"F3": "command:run sh -c 'ls | wc -l'"
does not work because micro interprets &, | and , as separators between actions:
https://github.com/zyedidia/micro/blob/f49487dc3adf82ec5e63bf1b6c0ffaed268aa747/internal/action/bufpane.go#L103-L105
This PR fixes this by ignoring escaped and quoted characters when splitting a keybinding into actions.