Skip to content

Commit

Permalink
Toggle JSON with Ctrl-J
Browse files Browse the repository at this point in the history
  • Loading branch information
rm-hull committed Feb 13, 2023
1 parent dfdae88 commit e70387e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/view/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ func (l *Log) bindKeys() {
ui.KeyM: ui.NewKeyAction("Mark", l.markCmd, true),
ui.KeyS: ui.NewKeyAction("Toggle AutoScroll", l.toggleAutoScrollCmd, true),
ui.KeyF: ui.NewKeyAction("Toggle FullScreen", l.toggleFullScreenCmd, true),
ui.KeyJ: ui.NewKeyAction("Toggle JSON", l.toggleJSONCmd, true),
tcell.KeyCtrlJ: ui.NewKeyAction("Toggle JSON", l.toggleJSONCmd, true),
ui.KeyT: ui.NewKeyAction("Toggle Timestamp", l.toggleTimestampCmd, true),
ui.KeyW: ui.NewKeyAction("Toggle Wrap", l.toggleTextWrapCmd, true),
tcell.KeyCtrlS: ui.NewKeyAction("Save", l.SaveCmd, true),
Expand Down

0 comments on commit e70387e

Please sign in to comment.