Skip to content

Commit

Permalink
Merge pull request #26 from Immortalin/master
Browse files Browse the repository at this point in the history
Vim/Evil keybindings for faster navigation
  • Loading branch information
ahmadassaf committed Nov 17, 2015
2 parents 9c0361b + a639776 commit e6f32b2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion booklight.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ var booklight = function booklight() {
booklightListener.simple_combo('down', function(){ booklight.navigator.moveInList("DOWN") });
booklightListener.simple_combo('right', function(){ booklight.navigator.moveInList("RIGHT") });
booklightListener.simple_combo('left', function(){ booklight.navigator.moveInList("LEFT") });
booklightListener.simple_combo('ctrl k', function(){ booklight.navigator.moveInList("UP") });
booklightListener.simple_combo('ctrl j', function(){ booklight.navigator.moveInList("DOWN") });
booklightListener.simple_combo('ctrl l', function(){ booklight.navigator.moveInList("RIGHT") });
booklightListener.simple_combo('ctrl h', function(){ booklight.navigator.moveInList("LEFT") });

}

Expand Down Expand Up @@ -374,4 +378,4 @@ var booklight = function booklight() {

var booklight = new booklight();

booklight.UI.build();
booklight.UI.build();

0 comments on commit e6f32b2

Please sign in to comment.