]> ruderich.org/simon Gitweb - fcscs/fcscs.git/commitdiff
add missing path handler config
authorSimon Ruderich <simon@ruderich.org>
Thu, 11 Feb 2016 23:52:20 +0000 (00:52 +0100)
committerSimon Ruderich <simon@ruderich.org>
Thu, 11 Feb 2016 23:52:20 +0000 (00:52 +0100)
bin/fcscs

index 6a099816101a3dc2c813bea0ce74c121a97fbc08..80c89bfde6f082ecca6ff674f7ee32d87388377c 100755 (executable)
--- 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<paste>    used to paste selection into window (C<\&handler_paste>)
 
+=item B<path>     used to handle paths (C<\&handler_yank>)
+
 =item B<url>      used to open URLs (e.g. in a browser) (C<\&handler_url>)
 
 =item B<ip>       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,