fish-shell/share/completions/bind.fish
liljencrantz cf8e746d0c First stab at dropping all support for readlines inputrc files and instead using an internal system for performing keybinding.
darcs-hash:20070925161447-75c98-1feaef88a4b518badb7879f598f06ab650a8f93b.gz
2007-09-26 02:14:47 +10:00

12 lines
641 B
Fish

complete -c bind -s a -l all --description 'Show unavaliable key bindings/erase all bindings'
complete -c bind -s e -l erase --description 'Erase mode'
complete -c bind -s f -l function-names --description 'Print names of available functions'
complete -c bind -s h -l help --description "Display help and exit"
complete -c bind -s k -l key --description 'Specify key name, not sequence'
complete -c bind -s K -l key-names --description 'Print names of available keys'
complete -c bind -n __fish_bind_test1 -a '(bind --key-names)' -d 'Key name' -x
complete -c bind -n __fish_bind_test2 -a '(bind --function-names)' -d 'Function name' -x