Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
monkeyjunglejuice opened this issue Oct 30, 2024 · 0 comments
Open

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

monkeyjunglejuice opened this issue Oct 30, 2024 · 0 comments

Comments

@monkeyjunglejuice
Copy link

monkeyjunglejuice commented Oct 30, 2024

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant