doc/foot.5: formatting fixes

This commit is contained in:
Daniel Eklöf 2020-03-12 17:42:27 +01:00
parent 7984b802b2
commit a1ceb1f5ec
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -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