From: Scott Worley Date: Wed, 5 Mar 2014 07:05:02 +0000 (-0800) Subject: 'f' to show current filename X-Git-Url: http://git.scottworley.com/picsort/commitdiff_plain/88880347cfae4f78b639e5bc18fb4912de7fb36f 'f' to show current filename --- diff --git a/picsorter.js b/picsorter.js index f184784..ff760dc 100644 --- a/picsorter.js +++ b/picsorter.js @@ -188,6 +188,7 @@ Mousetrap.bind(['d', 'j'], function() { change_exposure(-1); }); Mousetrap.bind('x', mark_deleted); Mousetrap.bind('X', mark_not_deleted); Mousetrap.bind('r', rotate); +Mousetrap.bind('f', function() { say(files[input_index]); }); Mousetrap.bind('c', function() { $("#name").show().focus(); return false; }); Mousetrap.bind('%', function() { say((100 * input_index / files.length).toFixed(2) + "%"); }); Mousetrap.bind('!', show_commands);