mirror of https://github.com/helix-editor/helix
feat(commands): unescape `yank-join` separator
This commit enhances the `yank-join` command by incorporating the `unescape` function to process the separator provided by the user. This improvement ensures that any escape sequences in the separator are correctly interpreted, aligning with user expectations. Previously, the `yank-join` command joined the current selection with the separator as-is. With this update, escape sequences in the separator such as: - `\\n` for newlines - `\\t` for tabs - `\\u{...}` for Unicode characters are unescaped to their corresponding literal characters before joining the selection.pull/11012/head
parent
6fbc85e168
commit
b58fe565d4
Loading…
Reference in New Issue