3 ms·
Still haven't found a way to delete the current line in Helix (even if the current line is blank; "xd" will delete the current non-empty line, but will delete t
by aidenn0 1y ago
Still haven't found a way to delete the current line in Helix (even if the current line is blank; "xd" will delete the current non-empty line, but will delete two lines if the current line is empty).
- johnofthesea 1y agoI just use “d” for empty line.
- f311a 1y agox Select current line, if already selected, extend to next line extend_line_below X Extend selection to line bounds (line-wise selection) Just use X.
- aidenn0 1y agoAh, so Xd will always delete the current line and e.g. X2xd will delete 3 lines. Still not as nice as dd/3dd like in vim, but at least I don't have to keep extra state in my head.
- dpc_01234 1y agoAnnoying, isn't it? I am running a trivial fork to change the `x` behavior on an empty line. https://github.com/helix-editor/helix/pull/4847 https://github.com/helix-editor/helix/pull/4847
- aidenn0 1y agoI think I will be using that patch; thanks!