diff --git a/assets/js/app.js b/assets/js/app.js index ae769a9..96ac8d0 100644 --- a/assets/js/app.js +++ b/assets/js/app.js @@ -376,32 +376,26 @@ document.onkeypress = function(e) { switch (e.keyCode || e.which) { - case 112: + case 112: // p + case 107: // k open_previous_item(); break; - case 110: + case 110: // n + case 106: // j open_next_item(); break; - case 118: + case 118: // v open_original_item(); break; - case 111: + case 111: // o open_item(); break; - case 109: + case 109: // m change_item_status(); break; - case 102: + case 102: // f bookmark_item(); break; - - //vim like navigation - case 107: - open_previous_item(); - break; - case 106: - open_next_item(); - break; } }; diff --git a/templates/config.php b/templates/config.php index 0fccd65..de0c485 100644 --- a/templates/config.php +++ b/templates/config.php @@ -42,8 +42,8 @@