lnav/src/keymap-default.json
2017-03-04 15:22:19 -08:00

43 lines
1.7 KiB
JSON

{
"global": {
"keymap_def_alt_warning": "Press ${ansi_bold}w${ansi_norm}/${ansi_bold}W${ansi_norm} to move forward/backward through ${ansi_yellow}warning${ansi_norm} messages",
"keymap_def_scroll_horiz": "Press \\'${ansi_bold}>${ansi_norm}\\' or \\'${ansi_bold}<${ansi_norm}\\' to scroll horizontally to a search result",
"keymap_def_next_user_mark": "Press ${ansi_bold}u${ansi_norm}/${ansi_bold}U${ansi_norm} to move forward/backward through user bookmarks",
"keymap_def_db_view": "Press ${ansi_bold}v${ansi_norm}/${ansi_bold}V${ansi_norm} to switch to the SQL result view",
"keymap_def_hist_view": "Press ${ansi_bold}i${ansi_norm}/${ansi_bold}I${ansi_norm} to switch to the histogram view",
"keymap_def_text_view": "Press ${ansi_bold}t${ansi_norm} to switch to the text view"
},
"keymap_def": {
"default": {
"x45": [
":prev-mark error",
":eval :alt-msg ${keymap_def_alt_warning}"
],
"x65": [
":next-mark error",
":eval :alt-msg ${keymap_def_alt_warning}"
],
"x67": [":goto 0"],
"x6d": [
":mark",
":eval :alt-msg ${keymap_def_next_user_mark}"
],
"x4e": [
":prev-mark search",
":eval :alt-msg ${keymap_def_scroll_horiz}"
],
"x6e": [
":next-mark search",
":eval :alt-msg ${keymap_def_scroll_horiz}"
],
"x50": [":switch-to-view pretty"],
"x71": ["|lnav-pop-view ${keyseq}"],
"x51": ["|lnav-pop-view ${keyseq}"]
}
}
}