From 9cab0e97dd91ab3af76d7fdd364f99df280914e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Wed, 1 Jan 2020 15:01:27 +0100 Subject: [PATCH] README: use a definition list for keyboard shortcuts --- README.md | 75 +++++++++++++++++++++++-------------------------------- 1 file changed, 31 insertions(+), 44 deletions(-) diff --git a/README.md b/README.md index eebc3289..5af04a4d 100644 --- a/README.md +++ b/README.md @@ -90,79 +90,66 @@ is **not** possible to define new key bindings. ### Keyboard -* shift+page up/page down +shift+page up/page down +: Scroll up/down in history - Scroll up/down in history +ctrl+shift+c +: Copy selected text to the _clipboard_ -* ctrl+shift+c +ctrl+shift+v +: Paste from _clipboard_ - Copy selected text to the _clipboard_ +ctrl+shift+r +: Start a scrollback search -* ctrl+shift+v - - Paste from _clipboard_ - -* ctrl+shift+r - - Start a scrollback search +--- While doing a scrollback search, the following shortcuts are available: -* ctrl+r +ctrl+r +: Search _backward_ for next match - Search _backward_ for next match +ctrl+s +: Search _forward_ for next match -* ctrl+s - - Search _forward_ for next match - -* ctrl+w - - Extend current selection (and thus the search criteria) to the end +ctrl+w +: Extend current selection (and thus the search criteria) to the end of the word, or the next word if currently at a word separating character. -* ctrl+shiftw - - Same as ctrl+w, except that the only word +ctrl+shiftw +: Same as ctrl+w, except that the only word separating characters are whitespace characters. -* escape, ctrl+g +escape, ctrl+g +: Cancel the search - Cancel the search - -* return - - Finish the search and copy the current match to the primary +return +: Finish the search and copy the current match to the primary selection ### Mouse -* left - **single-click** - - Drag to select; when released, the selected text is copied to the +left - **single-click** +: Drag to select; when released, the selected text is copied to the _primary_ selection. Note that this feature is normally **disabled** whenever the client has enabled _mouse tracking_, but can be forced by holding shift. -* left - **double-click** - - Selects the _word_ (separated by spaces, period, comma, parenthesis +left - **double-click** +: Selects the _word_ (separated by spaces, period, comma, parenthesis etc) under the pointer. Hold ctrl to select everything under the pointer up to, and until, the next space characters. -* left - **triple-click** +left - **triple-click** +: Selects the entire row - Selects the entire row +middle +: Paste from _primary_ selection -* middle - - Paste from _primary_ selection - -* wheel - - Scroll up/down in history +wheel +: Scroll up/down in history ## Server mode