Skip to main content
added 31 characters in body
Source Link
Marlon Richert
  • 4.3k
  • 11
  • 38

Add the following to your .zshrc file:

WORDCHARS=''

This will make only alphanumeric characters count as words.

To make additional, non-alphanumeric characters be counted as being part of a word, simply add them to $WORDCHARS. For example, this will include - and _:

WORDCHARS='-_'

Sources:


Alternatively, for more customizable word and subword movement, try my Zsh Edit plugin.

Add the following to your .zshrc file:

WORDCHARS=''

This will make only alphanumeric characters count as words.

To make additional, non-alphanumeric characters be counted as being part of a word, simply add them to $WORDCHARS. For example:

WORDCHARS='-_'

Sources:


Alternatively, for more customizable word and subword movement, try my Zsh Edit plugin.

Add the following to your .zshrc file:

WORDCHARS=''

This will make only alphanumeric characters count as words.

To make additional, non-alphanumeric characters be counted as being part of a word, simply add them to $WORDCHARS. For example, this will include - and _:

WORDCHARS='-_'

Sources:


Alternatively, for more customizable word and subword movement, try my Zsh Edit plugin.

deleted 9 characters in body
Source Link
Marlon Richert
  • 4.3k
  • 11
  • 38

Just addAdd the following to your .zshrc file:

WORDCHARS=''

This will make only alphanumeric characters count as words.

More infoTo make additional, non-alphanumeric characters be counted as being part of a word, simply add them to $WORDCHARS. For example:

WORDCHARS='-_'

Sources:


Alternatively, for even more intuitive, customizable word and subword movement, try my Zsh Edit plugin. 🙂

Just add the following to your .zshrc file:

WORDCHARS=''

This will make only alphanumeric characters count as words.

More info:


Alternatively, for even more intuitive, customizable word movement, try my Zsh Edit plugin. 🙂

Add the following to your .zshrc file:

WORDCHARS=''

This will make only alphanumeric characters count as words.

To make additional, non-alphanumeric characters be counted as being part of a word, simply add them to $WORDCHARS. For example:

WORDCHARS='-_'

Sources:


Alternatively, for more customizable word and subword movement, try my Zsh Edit plugin.

added 37 characters in body
Source Link
Marlon Richert
  • 4.3k
  • 11
  • 38

Just add the following to your .zshrc file:

WORDCHARS=''

This will make only alphanumeric characters count as words.

More info:


ForAlternatively, for even bettermore intuitive, customizable word movement, try my myZsh Edit plugin zsh-edit. 🙂

Just add the following to your .zshrc file:

WORDCHARS=''

This will make only alphanumeric characters count as words.

More info:


For even better word movement, try my plugin zsh-edit. 🙂

Just add the following to your .zshrc file:

WORDCHARS=''

This will make only alphanumeric characters count as words.

More info:


Alternatively, for even more intuitive, customizable word movement, try my Zsh Edit plugin. 🙂

added 75 characters in body
Source Link
Marlon Richert
  • 4.3k
  • 11
  • 38
Loading
Source Link
Marlon Richert
  • 4.3k
  • 11
  • 38
Loading