FREQUENTLY ASKED QUESTIONS
+ The new selection selects pieces that are too big/too small, can I
+ change this?
+ Yes. For example, if you want to select smaller pieces ("words") you
+ can use the following resource:
+
+ URxvt.selection.pattern-0: ([[:word:]]+)
+
+ If you click more than twice, the selection will be extended more
+ and more.
+
+ To get a selection that is very similar to the old code, try this
+ pattern:
+
+ URxvt.selection.pattern-0: ([^"&'()*,;<=>?@[\\\\]^`{|})]+)
+
I don't like the new selection/popups/hotkeys/perl, how do I
change/disable it?
You can disable the perl extension completely by setting the
<hr />
<h1><a name="frequently_asked_questions">FREQUENTLY ASKED QUESTIONS</a></h1>
<dl>
+<dt><strong><a name="item_the_new_selection_selects_pieces_that_are_too_big_">The new selection selects pieces that are too big/too small, can I
+change this?</a></strong><br />
+</dt>
+<dd>
+Yes. For example, if you want to select smaller pieces (``words'') you can
+use the following resource:
+</dd>
+<dd>
+<pre>
+ URxvt.selection.pattern-0: ([[:word:]]+)</pre>
+</dd>
+<dd>
+<p>If you click more than twice, the selection will be extended
+more and more.</p>
+</dd>
+<dd>
+<p>To get a selection that is very similar to the old code, try this pattern:</p>
+</dd>
+<dd>
+<pre>
+ URxvt.selection.pattern-0: ([^"&'()*,;<=>?@[\\\\]^`{|})]+)</pre>
+</dd>
+<p></p>
<dt><strong><a name="item_i_don_27t_like_the_new_selection_2fpopups_2fhotkey">I don't like the new selection/popups/hotkeys/perl, how do I
change/disable it?</a></strong><br />
</dt>
.\" ========================================================================
.\"
.IX Title "rxvt 7"
-.TH rxvt 7 "2006-01-12" "7.0" "RXVT-UNICODE"
+.TH rxvt 7 "2006-01-13" "7.0" "RXVT-UNICODE"
.SH "NAME"
RXVT REFERENCE \- FAQ, command sequences and other background information
.SH "SYNOPSIS"
<http://cvs.schmorp.de/browse/*checkout*/rxvt\-unicode/doc/rxvt.7.html>.
.SH "FREQUENTLY ASKED QUESTIONS"
.IX Header "FREQUENTLY ASKED QUESTIONS"
+.IP "The new selection selects pieces that are too big/too small, can I change this?" 4
+.IX Item "The new selection selects pieces that are too big/too small, can I change this?"
+Yes. For example, if you want to select smaller pieces (\*(L"words\*(R") you can
+use the following resource:
+.Sp
+.Vb 1
+\& URxvt.selection.pattern-0: ([[:word:]]+)
+.Ve
+.Sp
+If you click more than twice, the selection will be extended
+more and more.
+.Sp
+To get a selection that is very similar to the old code, try this pattern:
+.Sp
+.Vb 1
+\& URxvt.selection.pattern-0: ([^"&'()*,;<=>?@[\e\e\e\e]^`{|})]+)
+.Ve
.IP "I don't like the new selection/popups/hotkeys/perl, how do I change/disable it?" 4
.IX Item "I don't like the new selection/popups/hotkeys/perl, how do I change/disable it?"
You can disable the perl extension completely by setting the
=over 4
+=item The new selection selects pieces that are too big/too small, can I
+change this?
+
+Yes. For example, if you want to select smaller pieces ("words") you can
+use the following resource:
+
+ URxvt.selection.pattern-0: ([[:word:]]+)
+
+If you click more than twice, the selection will be extended
+more and more.
+
+To get a selection that is very similar to the old code, try this pattern:
+
+ URxvt.selection.pattern-0: ([^"&'()*,;<=>?@[\\\\]^`{|})]+)
+
=item I don't like the new selection/popups/hotkeys/perl, how do I
change/disable it?
<http://cvs.schmorp.de/browse/*checkout*/rxvt-unicode/doc/rxvt.7.html>.
FREQUENTLY ASKED QUESTIONS
+ The new selection selects pieces that are too big/too small, can I
+ change this?
+ Yes. For example, if you want to select smaller pieces ("words") you
+ can use the following resource:
+
+ URxvt.selection.pattern-0: ([[:word:]]+)
+
+ If you click more than twice, the selection will be extended more
+ and more.
+
+ To get a selection that is very similar to the old code, try this
+ pattern:
+
+ URxvt.selection.pattern-0: ([^"&'()*,;<=>?@[\\\\]^`{|})]+)
+
I don't like the new selection/popups/hotkeys/perl, how do I
change/disable it?
You can disable the perl extension completely by setting the
# "find interetsing things"-patterns
my @mark_patterns = (
- qr{([[:word:]]+)},
-
- # common "parentheses"
+ # common types of "parentheses"
qr{(?:^|\s) ‘ ([^‘’]+?) ’ (?:\s|\)|$)}x,
qr{(?:^|\s) ` ([^`']+?) ' (?:\s|\)|$)}x,
qr{ \{ ([^{}]+?) \} }x,