diff --git a/src/main/webapp/js/controllers.js b/src/main/webapp/js/controllers.js index e55adfa3..144b4255 100644 --- a/src/main/webapp/js/controllers.js +++ b/src/main/webapp/js/controllers.js @@ -649,11 +649,21 @@ function($scope, $stateParams, $http, $route, $window, EntryService, SettingsSer openNextEntry(e); }); }); + Mousetrap.bind('n', function(e) { + $scope.$apply(function() { + openNextEntry(e); + }); + }); Mousetrap.bind('k', function(e) { $scope.$apply(function() { openPreviousEntry(e); }); }); + Mousetrap.bind('p', function(e) { + $scope.$apply(function() { + openPreviousEntry(e); + }); + }); Mousetrap.bind('o', function(e) { $scope.$apply(function() { if ($scope.current) {