From a1ceb1f5ecb2b0a1b7818ae4fb6cb4b9a2a3a626 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Thu, 12 Mar 2020 17:42:27 +0100 Subject: [PATCH] doc/foot.5: formatting fixes --- doc/foot.5.scd | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/doc/foot.5.scd b/doc/foot.5.scd index f504fba5..66038e09 100644 --- a/doc/foot.5.scd +++ b/doc/foot.5.scd @@ -151,28 +151,28 @@ component. This section lets you override the default key bindings. -The general format is _action_=_combo1_..._comboN_. That is, each -action may have one or more key combinations, space separated. Each -combination is on the form _mod1_+_mod2_+_key_. The names of the -modifiers and the key *must* be a valid XKB key name. +The general format is _action=combo1...comboN_. That is, each action +may have one or more key combinations, space separated. Each +combination is on the form _mod1+mod2+key_. The names of the modifiers +and the key *must* be a valid XKB key name. Note that if *Shift* is one of the modifiers, the _key_ *must* be in -upper case. For example, *Control*+*Shift*+*v* will never trigger - -*Control*+*Shift*+*V* is the correct way to write it. +upper case. For example, *Control+Shift+v* will never trigger - +*Control+Shift+V* is the correct way to write it. Note that *Alt* is usually called *Mod1*. A key combination can only be mapped to *one* action. Lets say you -want to bind *Control*+*Shift*+*R* to *fullscreen*. Since this is the +want to bind *Control+Shift+R* to *fullscreen*. Since this is the default shortcut for *search-start*, you first need to unmap the -default binding. This can be done by setting _action_=*NONE*; -e.g. *search-start*=*NONE*. +default binding. This can be done by setting _action=NONE_; +e.g. *search-start=NONE*. *scrollback-up* - Scrolls up/back in history. Default: _Shift+Page_Up_. + Scrolls up/back in history. Default: _Shift+Page\_Up_. *scrollback-down* - Scroll down/forward in history. Default: _Shift+Page_Down_. + Scroll down/forward in history. Default: _Shift+Page\_Down_. *clipboard-copy* Copies the current selection into the _clipboard_. Default: _Control+Shift+C_. @@ -214,20 +214,20 @@ e.g. *search-start*=*NONE*. This section lets you override the default mouse bindings. -The general format is _action_=_BTN\__, where _BTN\__ is +The general format is _action=BTN\__, where _BTN\__ is the name of the event code (e.g. *BTN\_LEFT*, *BTN\_RIGHT*). You can find the event names using *libinput debug-events*. A button can only be mapped to *one* action. Lets say you want to bind *BTN\_MIDDLE* to *fullscreen*. Since *BTN\_MIDDLE* is the default binding for *primary-paste*, you first need to unmap the default -binding. This can be done by setting _action_=*NONE*; -e.g. *primary-paste*=*NONE*. +binding. This can be done by setting _action=NONE_; +e.g. *primary-paste=NONE*. All actions listed under *key-bindings* can be user here as well. *primary-paste* - Pastes from the _primary selection_. Default: _BTN_MIDDLE_. + Pastes from the _primary selection_. Default: _BTN\_MIDDLE_. # FONT FORMAT