1urxvt-selection(1)               RXVT-UNICODE               urxvt-selection(1)
2
3
4

NAME

6       selection - more intelligent selection (enabled by default)
7

DESCRIPTION

9       This extension tries to be more intelligent when the user extends
10       selections (double-click and further clicks). Right now, it tries to
11       select words, urls and complete shell-quoted arguments, which is very
12       convenient, too, if your ls supports "--quoting-style=shell".
13
14       A double-click usually selects the word under the cursor, further
15       clicks will enlarge the selection.
16
17       The selection works by trying to match a number of regexes and
18       displaying them in increasing order of length. You can add your own
19       regexes by specifying resources of the form:
20
21          URxvt.selection.pattern-0: perl-regex
22          URxvt.selection.pattern-1: perl-regex
23          ...
24
25       The index number (0, 1...) must not have any holes, and each regex must
26       contain at least one pair of capturing parentheses, which will be used
27       for the match. For example, the following adds a regex that matches
28       everything between two vertical bars:
29
30          URxvt.selection.pattern-0: \\|([^|]+)\\|
31
32       Another example: Programs I use often output "absolute path: " at the
33       beginning of a line when they process multiple files. The following
34       pattern matches the filename (note, there is a single space at the very
35       end):
36
37          URxvt.selection.pattern-0: ^(/[^:]+):\
38
39       You can look at the source of the selection extension to see more
40       interesting uses, such as parsing a line from beginning to end.
41
42       This extension also offers the following actions:
43
44       rot13
45           Rot-13 the selection when activated.
46
47           Example:
48
49              URxvt.keysym.C-M-r: selection:rot13
50
51
52
539.22                              2019-02-02                urxvt-selection(1)
Impressum