Back to Wezterm

`selection_word_boundary`

docs/config/lua/config/selection_word_boundary.md

latest578 B
Original Source

selection_word_boundary

{{since('20210203-095643-70a364eb')}}

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:

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