sorin-ionescu / prezto

The configuration framework for Zsh
MIT License
13.98k stars 4.49k forks source link

Add zstyle to configure WORDCHARS #2067

Closed Kuruyia closed 10 months ago

Kuruyia commented 10 months ago

Description

The editor module sets a default value for the WORDCHARS parameter, which configures the characters considered to be part of a word.

While users can override this parameter manually, I think it would be nice for Prezto to provide a zstyle customization to set this parameter up, like what is being done for the history-related parameters in the history module.

zstyle ':prezto:module:editor' wordchars '*?_-.[]~&;!#$%^(){}<>'