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

Omni completion #3

Closed
dag opened this issue May 12, 2013 · 1 comment
Closed

Omni completion #3

dag opened this issue May 12, 2013 · 1 comment

Comments

@dag
Copy link
Owner

dag commented May 12, 2013

Hooking into fish's completions would be really cool, but it would be a good start to complete functions, builtins and commands.

functions -a
builtin -n
for path in $PATH
    for bin in $path/*
        if test -x $bin
            basename $bin
        end
    end
end
@dag
Copy link
Owner Author

dag commented May 13, 2013

Turns out hooking into fish's completions might be easy:

system('fish -c "complete -C'.shellescape('vim -').'"')

@dag dag closed this as completed in ccebc89 May 14, 2013
inkch pushed a commit to inkch/vim-fish that referenced this issue May 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant