70e991e51c
ajout correspondance utf8
2025-05-29 20:22:58 +02:00
Clément Joly
090b4fdb16
doc: make section order actually stable
...
We were already trying to achieve that by sorting the table, but we were
actually sorting by values (i.e. documentation text of a particular
section). To fix this, we now extract the keys, sort them and get back
the items from the initial table, in alphabetical order now.
2023-06-15 21:54:17 +00:00
Clément Joly
efce15ecd4
fix: Visual & Select mode mappings
...
Currently, Visual mappings are defined using “v”, which according to
`map-table`:
Mode | Norm | Ins | Cmd | Vis | Sel | Opr | Term | Lang |
Command +------+-----+-----+-----+-----+-----+------+------+
[nore]map | yes | - | - | yes | yes | yes | - | - |
n[nore]map | yes | - | - | - | - | - | - | - |
[nore]map! | - | yes | yes | - | - | - | - | - |
i[nore]map | - | yes | - | - | - | - | - | - |
c[nore]map | - | - | yes | - | - | - | - | - |
v[nore]map | - | - | - | yes | yes | - | - | - | <--
x[nore]map | - | - | - | yes | - | - | - | - | <--
s[nore]map | - | - | - | - | yes | - | - | - |
o[nore]map | - | - | - | - | - | yes | - | - |
t[nore]map | - | - | - | - | - | - | yes | - |
l[nore]map | - | yes | yes | - | - | - | - | yes |
This means that we define mappings for both the Visual and the Select
mode. This however pollutes the Select mode and violates the intent
behind the mode. Quoting the documentation:
> Users will expect printable characters to replace the selected area.
> Therefore avoid mapping printable characters in Select mode.
:h Select-mode-mapping
Using “x”, we will only map for Visual mode.
2023-06-15 21:17:20 +00:00
Clément Joly
aedb275b57
Misc doc fixes
2022-09-02 07:56:51 +02:00
Clément Joly
1385f1500e
docs: fix miscaligned tables by checking for UTF-8
2022-08-23 06:58:52 +01:00
Clément Joly
a5c73fd9f7
fix: properly name the help file so that nvim finds it
2022-08-21 23:57:50 +01:00