Depending on your system, the word separator characters change the way you can select/delete a word (e.g. by double clicking on it or using a key combination with your keyboard).

The fact is that I hate the default behavior of OSX.

For example:

Take the following line of code: obj.attr1.innerAttr.

If my cursor is at the end of the line and I press alt + backspace, it will delete everything and not just innerAttr.

I only found some apps (like iTerm) which let you change the word separator characters.

Is there a way to change it for the whole system?

link|improve this question
No there is not. Get a better text editor. – Hasaan Chop Mar 28 '10 at 13:37
feedback

migrated from stackoverflow.com Mar 28 '10 at 13:19

This question came from our site for professional and enthusiast programmers.

1 Answer

To the best of my knowledge, selection word separation is done on a per-application basis, not a system-wide basis. iTerm allows you to configure the characters, but that's an extremely unusual option; most applications use the predetermined defaults in the Cocoa and Carbon libraries, which are hard-coded, not drawn from a centralized preference setting.

link|improve this answer
Well, that's just too bad... – avetis.kazarian Mar 28 '10 at 13:02
More importantly, iTerm's preference only affects selecting text in iTerm. It doesn't affect how tty applications move the cursor or edit words. – Chris Page Aug 29 '11 at 12:08
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.