You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lnav/docs/source/hotkeys.rst

142 lines
2.7 KiB
ReStructuredText

Hotkey Reference
================
.. |ks| raw:: html
<kbd>
.. |ke| raw:: html
</kbd>
.. raw:: html
<style>
kbd {
padding: 0.1em 0.6em;
border: 1px solid #ccc;
font-size: 11px;
font-family: Arial,Helvetica,sans-serif;
background-color: #f7f7f7;
color: #333;
-moz-box-shadow: 0 1px 0px rgba(0, 0, 0, 0.2),0 0 0 2px #ffffff inset;
-webkit-box-shadow: 0 1px 0px rgba(0, 0, 0, 0.2),0 0 0 2px #ffffff inset;
box-shadow: 0 1px 0px rgba(0, 0, 0, 0.2),0 0 0 2px #ffffff inset;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
display: inline-block;
margin: 0.1em 0.1em;
text-shadow: 0 1px 0 #fff;
line-height: 1.4;
white-space: nowrap;
}
</style>
Navigation
----------
.. list-table::
:header-rows: 1
:widths: 5 5 5 20
* - Keypress
-
-
- Command
* - |ks| Space |ke|
- |ks| PgDn |ke|
-
- Down a page
* - |ks| b |ke|
- |ks| Backspace |ke|
- |ks| PgUp |ke|
- Up a page
* - |ks| j |ke|
- |ks| Return |ke|
- |ks| ↓ |ke|
- Down a line
* - |ks| k |ke|
- |ks| ↑ |ke|
-
- Up a line
* - |ks| h |ke|
- |ks| ← |ke|
-
- Left half a page
* - |ks| l |ke|
- |ks| → |ke|
-
- Right half a page
* - |ks| Home |ke|
-
-
- Top of the view
* - |ks| End |ke|
-
-
- Bottom of the view
* - |ks| e |ke|
- |ks| E |ke|
-
- Next/previous error
* - |ks| w |ke|
- |ks| W |ke|
-
- Next/previous warning
* - |ks| n |ke|
- |ks| N |ke|
-
- Next/previous search hit
* - |ks| > |ke|
- |ks| < |ke|
-
- Next/previous search hit (horizontal)
* - |ks| f |ke|
- |ks| F |ke|
-
- Next/previous file
* - |ks| u |ke|
- |ks| U |ke|
-
- Next/previous bookmark
Bookmarks
---------
.. list-table::
:header-rows: 1
:widths: 5 20
* - Keypress
- Command
* - |ks| m |ke|
- Mark/unmark the top line
* - |ks| M |ke|
- Mark/unmark the range of lines from the last marked to the top
* - |ks| J |ke|
- Mark/unmark the next line after the previously marked
* - |ks| K |ke|
- Mark/unmark the previous line
* - |ks| c |ke|
- Copy marked lines to the clipboard
* - |ks| C |ke|
- Clear marked lines
Display
-------
.. list-table::
:header-rows: 1
:widths: 5 20
* - Keypress
- Command
* - |ks| ? |ke|
- View/leave builtin help
* - |ks| q |ke|
- Return to the previous view/quit
* - |ks| T |ke|
- Display elapsed time between lines