This commit is contained in:
Gokcehan 2018-06-06 21:50:15 +03:00
parent 9d21a4f359
commit 9177ddd406
2 changed files with 9 additions and 8 deletions

8
doc.go
View File

@ -265,16 +265,16 @@ corresponding byte for the mapping:
map á down map á down
Newer terminals (e.g. gnome-terminal) may prefix the key with an escape key Newer terminals (e.g. gnome-terminal) may prefix the key with an escape key
when the alt key is pressed: lf uses the escape delaying mechanism to recognize when the alt key is pressed. lf uses the escape delaying mechanism to recognize
alt keys in these terminals (delay is 100ms). On these terminals, keys combined alt keys in these terminals (delay is 100ms). On these terminals, keys combined
with the alt key are prefixed with 'a' character: with the alt key are prefixed with 'a' character:
map <a-a> down map <a-a> down
Please note that, some key combinations are not possible due to the way Please note that, some key combinations are not possible due to the way
terminals work (e.g. control and h combination sends a backspace key). The terminals work (e.g. control and h combination sends a backspace key instead).
easiest way to find the name of a key combination is to press the key while lf The easiest way to find the name of a key combination is to press the key while
is running and read the name of the key from the unknown mapping error. lf is running and read the name of the key from the unknown mapping error.
Push Mappings Push Mappings

View File

@ -274,16 +274,17 @@ can use the corresponding byte for the mapping:
map á down map á down
Newer terminals (e.g. gnome-terminal) may prefix the key with an escape key Newer terminals (e.g. gnome-terminal) may prefix the key with an escape key
when the alt key is pressed: lf uses the escape delaying mechanism to when the alt key is pressed. lf uses the escape delaying mechanism to
recognize alt keys in these terminals (delay is 100ms). On these terminals, recognize alt keys in these terminals (delay is 100ms). On these terminals,
keys combined with the alt key are prefixed with 'a' character: keys combined with the alt key are prefixed with 'a' character:
map <a-a> down map <a-a> down
Please note that, some key combinations are not possible due to the way Please note that, some key combinations are not possible due to the way
terminals work (e.g. control and h combination sends a backspace key). The terminals work (e.g. control and h combination sends a backspace key
easiest way to find the name of a key combination is to press the key while instead). The easiest way to find the name of a key combination is to press
lf is running and read the name of the key from the unknown mapping error. the key while lf is running and read the name of the key from the unknown
mapping error.
Push Mappings Push Mappings