From: Simon Ruderich Date: Thu, 11 Feb 2016 23:52:20 +0000 (+0100) Subject: add missing path handler config X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=f256721d6e8a23c7502bba1cec687bdfa16e1355;p=fcscs%2Ffcscs.git add missing path handler config --- diff --git a/bin/fcscs b/bin/fcscs index 6a09981..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,