Skip to content

Keybinding "g l" (goto line end) is broken #7

@monkeyjunglejuice

Description

@monkeyjunglejuice

Function (sed) gives the error sed: 1: "1!b;/^$/q;q5": undefined label ';/^$/q;q5'

function __fish_helix_goto_line_end
    # check if we are on an empty line first
    commandline | sed -n (commandline -L)'!b;/^$/q;q5' && return
    commandline -f end-of-line backward-char
end

(EDIT: Closed PR, because I've discovered more issues with other functions)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions