Skip to content

Commit

Permalink
add space and enter event
Browse files Browse the repository at this point in the history
  • Loading branch information
TimothyYe committed Sep 2, 2019
1 parent fafa51a commit de8619b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/event.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func handleEvents() {
case "<C-p>":
// show previous content
updateParagraph(r.Prev())
case "j":
case "j", "<Space>", "<Enter>":
if rowNumber == "" {
// show next content
updateParagraph(r.Next())
Expand Down

0 comments on commit de8619b

Please sign in to comment.