Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

In Mac OS X's Terminal.app, I'd like to set my own selection delimiters such that if I have the text foo.bar.baz and double click bar, only bar is selected.

Is this possible and if so how?

share|improve this question

2 Answers 2

up vote 5 down vote accepted

It would appear from this question that it isn't configurable, at least system wide, and that configurable applications are rare. However, iTerm was mentioned as one that is.

share|improve this answer
    
thanks. that one didn't show up when i searched. –  nall Apr 1 '10 at 19:31
    
To clarify: that question is unrelated to this one. That question is about changing how application programs like Emacs and Vim treat words. iTerm's word separator preference only affects selecting text with iTerm. Still, the answer to this question is that the selection separator is not directly configurable in Terminal. However, it's worth noting that Terminal uses the system-wide preference System Preferences > Language & Text > Text > Word Break, which users can change, but there probably aren't any available preference values that would help in this case. –  Chris Page Aug 29 '11 at 12:16

Shift + Command + double_click

From: http://discussions.apple.com/thread.jspa?threadID=2400559&start=15&tstart=0

share|improve this answer
2  
Shift-Command-Double-Click is the anti-answer. It selects whole pathnames. This question is about how to restrict the selection to just part of a domain name or pathname. –  Chris Page Aug 29 '11 at 12:11
    
@Chris The question asked how do I double click to select foo.bar.baz in the terminal. Shift-Command-Double-Click works for that use case. –  user53251 Sep 8 '11 at 0:39
1  
"…such that if I have the text foo.bar.baz and double click bar, only bar is selected." [emph. Mine] –  Chris Page Sep 8 '11 at 5:30
1  
I don't this answered the original question, but it's exactly what I was looking for... now if only i could make this the default double-click behavior... –  olore Oct 27 '13 at 23:20

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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