Skip to content

Commit

Permalink
Vim keybindings
Browse files Browse the repository at this point in the history
  • Loading branch information
Immortalin committed Nov 16, 2015
1 parent e892874 commit a639776
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 a639776

Please sign in to comment.