summaryrefslogtreecommitdiffstats
path: root/docs/source/hotkeys.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/source/hotkeys.rst')
-rw-r--r--docs/source/hotkeys.rst26
1 files changed, 23 insertions, 3 deletions
diff --git a/docs/source/hotkeys.rst b/docs/source/hotkeys.rst
index 4bad1d9..7b065e7 100644
--- a/docs/source/hotkeys.rst
+++ b/docs/source/hotkeys.rst
@@ -7,6 +7,23 @@ This reference covers the keys used to control **lnav**. Consult the `built-in
help <https://github.com/tstack/lnav/blob/master/src/help.txt>`_ in **lnav** for
a more detailed explanation of each key.
+Global
+------
+
+.. list-table::
+ :header-rows: 1
+ :widths: 6 20
+
+ * - Keypress
+ - Command
+
+ * - :kbd:`Ctrl` + :kbd:`C`
+ - If the focused line is from a file connected to an open pipe (the "↻"
+ icon will be next to the file name), a SIGINT will be sent to the
+ child process. Otherwise, **lnav** will quickly exit. If **lnav**
+ seems to be stuck in a loop, pressing :kbd:`Ctrl` + :kbd:`C` three
+ times will trigger an abort exit.
+
Spatial Navigation
------------------
@@ -148,9 +165,10 @@ status bar.
* - Keypress
- Description
+ * - :kbd:`\``
+ - Focus on the breadcrumb bar.
* - :kbd:`ENTER`
- - Focus on the breadcrumb bar. Or, if the bar is currently focused,
- accept the selected value and drop focus.
+ - If the bar is currently focused, accept the selected value and drop focus.
* - :kbd:`Escape`
- Drop focus on the breadcrumb bar.
* - :kbd:`←`
@@ -223,7 +241,9 @@ Display
* - :kbd:`Shift` + :kbd:`p`
- Switch to/from the pretty-printed view of the displayed log or text files
* - :kbd:`Shift` + :kbd:`t`
- - Display elapsed time between lines
+ - Display the elapsed time from a bookmark to a given line. In the TEXT view,
+ this only works for content that was captured from stdin or a :code:`:sh`
+ command.
* - :kbd:`t`
- Switch to/from the text file view
* - :kbd:`i`