aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-03-12 16:42:27 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-03-12 16:42:27 +0000
commita1ceb1f5ecb2b0a1b7818ae4fb6cb4b9a2a3a626 (patch)
tree43f9e5c5eae7ba44f36439eb9e8fd56a0358942e
parentREADME: shortcuts (bindings) _can_ be changed (diff)
doc/foot.5: formatting fixes
-rw-r--r--doc/foot.5.scd30
1 files 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\_<name>_, where _BTN\_<name>_ is
+The general format is _action=BTN\_<name>_, where _BTN\_<name>_ 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