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 01/10] 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 From 87cded5dffb05741ffb40608b03228d3947ad57a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Wed, 1 Jan 2020 15:04:44 +0100 Subject: [PATCH 02/10] README: make GNOME SSD reply italic --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5af04a4d..6c9aec42 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ This is a list of known, but probably not all, issues: However, most people want a uniform look and feel on their desktop, including the window decorations. For this reason, a Wayland application can request _Server Side Decorations_ (SSD). GNOME will - reply with a "I hear you, but sorry, I wont do that". + reply with a "_I hear you, but sorry, I wont do that_". ## Fonts From 6312a7b7f4f1515ba94f6ec9b277fcc036aac8b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Wed, 1 Jan 2020 15:07:12 +0100 Subject: [PATCH 03/10] README: list items should be indented by **4** spaces --- README.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 6c9aec42..25956712 100644 --- a/README.md +++ b/README.md @@ -47,20 +47,21 @@ This is a list of known, but probably not all, issues: * Unicode combining characters - Examples: á (`LATIN SMALL LETTER A` + `COMBINING ACUTE ACCENT`) + Examples: á (`LATIN SMALL LETTER A` + `COMBINING ACUTE ACCENT`) * Reflow text on window resize * GNOME; might work, but without window decorations. - Strictly speaking, foot is at fault here; all Wayland applications - _must_ be able to draw their own window decorations (but foot is - not). + Strictly speaking, foot is at fault here; all Wayland applications + _must_ be able to draw their own window decorations (but foot is + not). - However, most people want a uniform look and feel on their desktop, - including the window decorations. For this reason, a Wayland - application can request _Server Side Decorations_ (SSD). GNOME will - reply with a "_I hear you, but sorry, I wont do that_". + However, most people want a uniform look and feel on their + desktop, including the window decorations. For this reason, a + Wayland application can request _Server Side Decorations_ + (SSD). GNOME will reply with a "_I hear you, but sorry, I wont do + that_". ## Fonts From 7e39d113b7471b67a50db2cfb22923898b6850f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Wed, 1 Jan 2020 15:08:27 +0100 Subject: [PATCH 04/10] README: try removing empty lines between list items --- README.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/README.md b/README.md index 25956712..35934418 100644 --- a/README.md +++ b/README.md @@ -46,13 +46,9 @@ ever be supported by foot. This is a list of known, but probably not all, issues: * Unicode combining characters - Examples: á (`LATIN SMALL LETTER A` + `COMBINING ACUTE ACCENT`) - * Reflow text on window resize - * GNOME; might work, but without window decorations. - Strictly speaking, foot is at fault here; all Wayland applications _must_ be able to draw their own window decorations (but foot is not). From 7489cae576edbfbf1f0b6db36a3c657c0260f91c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Wed, 1 Jan 2020 15:09:51 +0100 Subject: [PATCH 05/10] README: that didn't work - try with a hard line break --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 35934418..ae58806e 100644 --- a/README.md +++ b/README.md @@ -45,10 +45,10 @@ ever be supported by foot. This is a list of known, but probably not all, issues: -* Unicode combining characters +* Unicode combining characters Examples: á (`LATIN SMALL LETTER A` + `COMBINING ACUTE ACCENT`) * Reflow text on window resize -* GNOME; might work, but without window decorations. +* GNOME; might work, but without window decorations. Strictly speaking, foot is at fault here; all Wayland applications _must_ be able to draw their own window decorations (but foot is not). From d13b106516179f26b1e30937bdfd84ebe373db9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Wed, 1 Jan 2020 15:11:50 +0100 Subject: [PATCH 06/10] Revert "README: that didn't work - try with a hard line break" This reverts commit 7489cae576edbfbf1f0b6db36a3c657c0260f91c. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ae58806e..35934418 100644 --- a/README.md +++ b/README.md @@ -45,10 +45,10 @@ ever be supported by foot. This is a list of known, but probably not all, issues: -* Unicode combining characters +* Unicode combining characters Examples: á (`LATIN SMALL LETTER A` + `COMBINING ACUTE ACCENT`) * Reflow text on window resize -* GNOME; might work, but without window decorations. +* GNOME; might work, but without window decorations. Strictly speaking, foot is at fault here; all Wayland applications _must_ be able to draw their own window decorations (but foot is not). From 1a8849c5f66d73eddcf9d31f049e3b79a08ea938 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Wed, 1 Jan 2020 15:12:00 +0100 Subject: [PATCH 07/10] Revert "README: try removing empty lines between list items" This reverts commit 7e39d113b7471b67a50db2cfb22923898b6850f4. --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 35934418..25956712 100644 --- a/README.md +++ b/README.md @@ -46,9 +46,13 @@ ever be supported by foot. This is a list of known, but probably not all, issues: * Unicode combining characters + Examples: á (`LATIN SMALL LETTER A` + `COMBINING ACUTE ACCENT`) + * Reflow text on window resize + * GNOME; might work, but without window decorations. + Strictly speaking, foot is at fault here; all Wayland applications _must_ be able to draw their own window decorations (but foot is not). From 79da7907fbe9fd5fc1799fc00e32fbc7fa0a5cc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Wed, 1 Jan 2020 15:12:57 +0100 Subject: [PATCH 08/10] README: use headings to separate normal key bindings from scrollback search bindings --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 25956712..35f8542e 100644 --- a/README.md +++ b/README.md @@ -91,6 +91,8 @@ is **not** possible to define new key bindings. ### Keyboard +#### Normal mode + shift+page up/page down : Scroll up/down in history @@ -103,10 +105,8 @@ is **not** possible to define new key bindings. ctrl+shift+r : Start a scrollback search ---- -While doing a scrollback search, the following shortcuts are -available: +#### Scrollback search ctrl+r : Search _backward_ for next match From a958c074890d715f244940f9e1ce4f78b22aa7f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Wed, 1 Jan 2020 15:14:19 +0100 Subject: [PATCH 09/10] README: add keyboard::normal-mode and keyboard::scrollback-search to index --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 35f8542e..290ba111 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,8 @@ 1. [Fonts](#fonts) 1. [Shortcuts](#shortcuts) 1. [Keyboard](#keyboard) + 1. [Normal mode](#normal-mode) + 1. [Scrollback search](#scrollback-search) 1. [Mouse](#mouse) 1. [Server mode](#server-mode) 1. [Requirements](#requirements) From ba9c14ad684b0203ec11f598f951d15543689df8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Wed, 1 Jan 2020 15:18:12 +0100 Subject: [PATCH 10/10] README: use footnote --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 290ba111..6ed7c071 100644 --- a/README.md +++ b/README.md @@ -198,8 +198,11 @@ want to launch a new terminal. * pixman * wayland (_client_ and _cursor_ libraries) * xkbcommon -* [tllist](https://codeberg.org/dnkl/tllist), _unless_ built as a subproject -* [fcft](https://codeberg.org/dnkl/fcft), _unless_ built as a subproject +* [tllist](https://codeberg.org/dnkl/tllist) [^1] +* [fcft](https://codeberg.org/dnkl/fcft) [^1] + +[^1]: can also be built as subprojects, in which case they are + statically linked. ### Building