selection_word_boundary

On this page
  1. selection_word_boundary

selection_word_boundary#

Configures the boundaries of a word, thus what is selected when doing a word selection with the mouse. (See mouse actions SelectTextAtMouseCursor & ExtendSelectionToMouseCursor with the mode argument set to Word)

Defaults to " \t\n{}[]()\"'`".

For example, to always include spaces and newline when selecting a word, but stop on punctuations:

config.selection_word_boundary = '{}[]()"\'`.,;:'
Edit this page