Skip to content

Instantly share code, notes, and snippets.

@mollifier
Last active September 11, 2021 05:13
Show Gist options
  • Save mollifier/4331a4db00a5555582e4 to your computer and use it in GitHub Desktop.
Save mollifier/4331a4db00a5555582e4 to your computer and use it in GitHub Desktop.
zsh で / や . も単語の区切り文字とみなす設定
# .zshrcに書く
# word-chars で指定した文字が単語の区切りとみなされる。
# M-f, M-b, ^w などの動作に影響する
autoload -Uz select-word-style
select-word-style default
zstyle ':zle:*' word-chars ' /=;@:{}[]()<>,|.'
zstyle ':zle:*' word-style unspecified
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment