Hi all,

When editing a file that has #!/bin/bash on the first line,
indicating a bash shell script, vim appears to recognize
a different set of word-delimiter characters for the purposes
of operations like 'cw' (change word) or '*' (search for word).

For example, the period (.) is not recognized as a delimiter:
If the cursor is on the 'x' character in a sequence like
"xyz.cpp", and you type 'cw', then all 7 letters will be changed
instead of just the "xyz" part.

This is probably intentional behavior, but is there any way
to disable it, so that vim has a consistent set of word delimiter
rules regardless of the file type that is being edited?

-Dave

Reply via email to