… | |
… | |
122 | .\} |
122 | .\} |
123 | .rm #[ #] #H #V #F C |
123 | .rm #[ #] #H #V #F C |
124 | .\" ======================================================================== |
124 | .\" ======================================================================== |
125 | .\" |
125 | .\" |
126 | .IX Title "@@RXVT_NAME@@ 3" |
126 | .IX Title "@@RXVT_NAME@@ 3" |
127 | .TH @@RXVT_NAME@@ 3 "2011-08-11" "@@RXVT_VERSION@@" "RXVT-UNICODE" |
127 | .TH @@RXVT_NAME@@ 3 "2011-11-18" "@@RXVT_VERSION@@" "RXVT-UNICODE" |
128 | .\" For nroff, turn off justification. Always turn off hyphenation; it makes |
128 | .\" For nroff, turn off justification. Always turn off hyphenation; it makes |
129 | .\" way too many mistakes in technical documents. |
129 | .\" way too many mistakes in technical documents. |
130 | .if n .ad l |
130 | .if n .ad l |
131 | .nh |
131 | .nh |
132 | .SH "NAME" |
132 | .SH "NAME" |
… | |
… | |
403 | The default pattern to match URLs can be overridden with the |
403 | The default pattern to match URLs can be overridden with the |
404 | \&\f(CW\*(C`matcher.pattern.0\*(C'\fR resource, and additional patterns can be specified |
404 | \&\f(CW\*(C`matcher.pattern.0\*(C'\fR resource, and additional patterns can be specified |
405 | with numbered patterns, in a manner similar to the \*(L"selection\*(R" extension. |
405 | with numbered patterns, in a manner similar to the \*(L"selection\*(R" extension. |
406 | The launcher can also be overridden on a per-pattern basis. |
406 | The launcher can also be overridden on a per-pattern basis. |
407 | .Sp |
407 | .Sp |
408 | It is possible to activate the most recently seen match from the keyboard. |
408 | It is possible to activate the most recently seen match or a list of matches |
|
|
409 | from the keyboard. Simply bind a keysym to \*(L"perl:matcher:last\*(R" or |
409 | Simply bind a keysym to \*(L"perl:matcher\*(R" as seen in the example below. |
410 | \&\*(L"perl:matcher:list\*(R" as seen in the example below. |
410 | .Sp |
411 | .Sp |
411 | Example configuration: |
412 | Example configuration: |
412 | .Sp |
413 | .Sp |
413 | .Vb 7 |
414 | .Vb 8 |
414 | \& URxvt.perl\-ext: default,matcher |
415 | \& URxvt.perl\-ext: default,matcher |
415 | \& URxvt.urlLauncher: sensible\-browser |
416 | \& URxvt.urlLauncher: sensible\-browser |
416 | \& URxvt.keysym.C\-Delete: perl:matcher |
417 | \& URxvt.keysym.C\-Delete: perl:matcher:last |
|
|
418 | \& URxvt.keysym.M\-Delete: perl:matcher:list |
417 | \& URxvt.matcher.button: 1 |
419 | \& URxvt.matcher.button: 1 |
418 | \& URxvt.matcher.pattern.1: \e\ebwww\e\e.[\e\ew\-]+\e\e.[\e\ew./?&@#\-]*[\e\ew/\-] |
420 | \& URxvt.matcher.pattern.1: \e\ebwww\e\e.[\e\ew\-]+\e\e.[\e\ew./?&@#\-]*[\e\ew/\-] |
419 | \& URxvt.matcher.pattern.2: \e\eB(/\e\eS+?):(\e\ed+)(?=:|$) |
421 | \& URxvt.matcher.pattern.2: \e\eB(/\e\eS+?):(\e\ed+)(?=:|$) |
420 | \& URxvt.matcher.launcher.2: gvim +$2 $1 |
422 | \& URxvt.matcher.launcher.2: gvim +$2 $1 |
421 | .Ve |
423 | .Ve |