doc faq: Document beam cursors being inconsistent

This commit is contained in:
Frank LENORMAND 2020-07-21 09:08:35 +03:00
parent accc619c0f
commit a84e3aeb85

View File

@ -239,6 +239,19 @@ highlighting hooks is `<lang>-highlight`. You can thus disable syntax
highlighting using the following command: `set global disabled_hooks highlighting using the following command: `set global disabled_hooks
'.+-highlight'` '.+-highlight'`
=== Can the cursor be rendered as a beam?
Rendering the cursor as a beam is a common feature of other modal editors,
it however doesn't fit within Kakoune's selection-first paradigm.
There is a selection on screen at all times, containing either data selected
by the user, or a newline character when the buffer is empty.
A selection is bound by an anchor and a cursor. They can overlap, but
ultimately must both be placed *over* a character. A beam cursor placed
*between* two characters doesn't fulfil that requirement, and is thus
not allowed.
== The editing language == The editing language
=== Why aren't there other scopes similar to `%sh{}` e.g. python? === Why aren't there other scopes similar to `%sh{}` e.g. python?