X-Git-Url: https://ruderich.org/simon/gitweb/?p=fcscs%2Ffcscs.git;a=blobdiff_plain;f=bin%2Ffcscs;h=80c89bfde6f082ecca6ff674f7ee32d87388377c;hp=84d526cdefcffd9df2fa43dd3e9bf8b107c5e8ff;hb=f256721d6e8a23c7502bba1cec687bdfa16e1355;hpb=f8f4df0cce55635ba729abd26099e5af6f6e14cf diff --git a/bin/fcscs b/bin/fcscs index 84d526c..80c89bf 100755 --- a/bin/fcscs +++ b/bin/fcscs @@ -762,7 +762,7 @@ sub mapping_mode_path { return { select => 'path select', matches => \@matches, - handler => $config->{handler}{yank}, + handler => $config->{handler}{path}, }; } sub mapping_mode_url { @@ -1290,6 +1290,8 @@ The following handlers are available, defaults in parentheses. =item B used to paste selection into window (C<\&handler_paste>) +=item B used to handle paths (C<\&handler_yank>) + =item B used to open URLs (e.g. in a browser) (C<\&handler_url>) =item B used to handle IPs (C<\&handler_yank>) @@ -1317,6 +1319,7 @@ Example: my %handler = ( yank => \&handler_yank, paste => \&handler_paste, + path => \&handler_yank, url => \&handler_url, ip => \&handler_yank, checksum => \&handler_yank, @@ -1394,7 +1397,7 @@ Example: } return $result; - } + }; # Also update initial mode to use our new "URL mode". $config{setting}{initial_mode} = $config{mapping}{mode}{u};