foot/doc
Daniel Eklöf 1719ff93a7
selection: add support for selecting the contents of a quote
This patch changes the default of triple clicking, from selecting the
current logical row, to first trying to select the contents of the
quote under the cursor, and if failing to find a quote, selecting the
current row (like before).

This is implemented by adding a new key binding, 'select-quote'.

It will search for surrounding quote characters, and if one is found
on each side of the cursor, the quote is selected. If not, the entire
row is selected instead.

Subsequent selection operations will behave as if the selection is
either a word selection (a quote was found), or a row selection (no
quote found).

Escaped quote characters are not supported: "foo \" bar" will match
'foo \', and not 'foo " bar'.

Mismatched quotes are not custom handled. They will simply not match.

Nested quotes ("123 'abc def' 456") are supported.

Closes #1364
2023-09-19 16:23:34 +02:00
..
benchmark.md doc: benchmarks: update with desktop results for 1.12.1 (r9) 2022-05-12 13:10:24 +02:00
foot-ctlseqs.7.scd csi: implement "CSI ? m" 2023-04-26 18:30:09 +02:00
foot.1.scd Update documentation regarding systemd units 2023-07-21 08:12:55 +02:00
foot.ini.5.scd selection: add support for selecting the contents of a quote 2023-09-19 16:23:34 +02:00
footclient.1.scd footclient: fallback logic when socket paths don't exist 2023-07-21 08:12:49 +02:00
meson.build meson: use meson feed feature for scdoc input 2023-06-14 17:15:20 +00:00
sixel-wow.png README: add screenshot of sixel graphics 2020-02-22 22:04:28 +01:00