Comment by aidenn0

Comment by aidenn0 a day ago

5 replies

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).

f311a a day ago

    x 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 20 hours ago

    Ah, 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.