Skip to main content

parse_key_sequence_shell_cmd_binding

Function parse_key_sequence_shell_cmd_binding 

Source
pub fn parse_key_sequence_shell_cmd_binding(
    input: &str,
) -> Result<KeySequenceShellCommandBinding, BindingParseError>
Expand description

Parses a binding specification that maps a key sequence to a shell command.

§Arguments

  • input - The input string to parse

§Errors

Returns crate::BindingParseError::Unknown if input is not a valid key-sequence-to-command binding.