From 767bd4f1dbbb14d9d28acb22cf42a91e6305a69a Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Wed, 6 Jan 2021 11:11:46 +0100 Subject: config: add ‘select-extend-character-wise’ bind action MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This forces the (new) selection mode to be character-wise when extending a word- or line-wise selection. Default key binding is ctrl+RMB. --- doc/foot.ini.5.scd | 36 ++++++++++++++++++++++++++---------- 1 file changed, 26 insertions(+), 10 deletions(-) (limited to 'doc') diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd index a857df10..16fd270b 100644 --- a/doc/foot.ini.5.scd +++ b/doc/foot.ini.5.scd @@ -581,21 +581,37 @@ All actions listed under *key-bindings* can be user here as well. and copied to the _primary selection_, when the button is released. Default: _Control+BTN\_LEFT_. -*select-extend* - Interactively extend an existing selection. The selection is - finalized, and copied to the _primary selection_, when the button - is released. Default: _BTN\_RIGHT_. - *select-word* - Select the _word_ (separated by spaces, period, comma, parenthesis - etc) under the pointer. Default: _BTN\_LEFT-2_. + Begin an interactive word-wise selection, where words are + separated by whitespace and all characters defined by the + *word-delimiters* option. The selection is finalized, and copied + to the _primary selection_, when the button is released. Default: + _BTN\_LEFT-2_. *select-word-whitespace* - Select the _word_ (separated by spaces _only_) under the - pointer. Default: Control+_BTN\_LEFT-2_. + Same as *select-word*, but the characters in the *word-delimiters* + option are ignored. I.e only whitespace characters act as + delimiters. The selection is finalized, and copied to the _primary + selection_, when the button is released. Default: + _Control+_BTN\_LEFT-2_. *select-row* - Select the whole row under the pointer. Default: _BTN\_LEFT-3_. + Begin an interactive row-wise selection. The selection is + finalized, and copied to the _primary selection_, when the button + is released. Default: _BTN\_LEFT-3_. + +*select-extend* + Interactively extend an existing selection, using the original + selection mode (normal, block, word-wise or row-wise). The + selection is finalized, and copied to the _primary selection_, + when the button is released. Default: _BTN\_RIGHT_. + +*select-extend-character-wise* + Same as *select-extend*, but forces the selection mode to _normal_ + (i.e. character wise). Note that this causes subsequent + *select-extend* operations to be character wise. This action is + ignored for block selections. Default: _Control+BTN\_RIGHT_. + *primary-paste* Pastes from the _primary selection_. Default: _BTN\_MIDDLE_. -- cgit v1.3