-
Notifications
You must be signed in to change notification settings - Fork 8
/
README
71 lines (54 loc) · 1.79 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
Blog'ed http://www.jukie.net/~bart/blog/tag/urxvt
Contributing
If you find any of this interesting, you may want to create a fork
on github. http://github.com/bartman/urxvt-scripts
Main author
Bart Trojanowski <[email protected]>
Contributors
Miciah Dashiel Butler Masters
Nigel McNie
Jonas Kramer
Olof Johansson
Dave O'Neill
Hans Dieter Pearcey
Daniel Danner
Julius Plenz
<< your name here >>
mark-yank-urls
This script will cycle through URLs in the terminal and let you
copy them (y) or launch a browser (<enter>).
This script is known to be working, but is likely not bug-free.
NOTES:
apt-get install rxvt-unicode xclip git-core
git clone git://git.jukie.net/urxvt.git/ urxvt.git
mkdir -p ~/.urxvt
cp urxvt.git/mark-yank-urls ~/.urxvt
cat >> ~/.Xdefaults <<END
URxvt.keysym.M-u: perl:mark-yank-urls:activate_mark_mode
URxvt.reverseVideo: true
URxvt.perl-lib: /home/jukie/bart/.urxvt/
URxvt.perl-ext: selection
URxvt.perl-ext: mark-yank-urls
END
mark-and-yank
This is a general purpose block copy script. Alt-u emulates the
mark-yank-urls script. Alt-y is intended to work like the GNU screen
copy mode.
WARNING, there are still many bugs in this script.
NOTES:
apt-get install rxvt-unicode xclip git-core
git clone git://git.jukie.net/urxvt.git/ urxvt.git
mkdir -p ~/.urxvt
cp urxvt.git/mark-and-yank ~/.urxvt
cat >> ~/.Xdefaults <<END
URxvt.keysym.M-y: perl:mark-and-yank:activate_mark_mode
URxvt.keysym.M-u: perl:mark-and-yank:activate_mark_url_mode
URxvt.perl-lib: /home/jukie/bart/.urxvt/
URxvt.perl-ext: mark-and-yank
URxvt.urlLauncher: firefox
END
TODO:
- get rid of globals, use $term->{variable}s
- whole screen capture
- b,e,w,W,gg,G for movement
- merge code with improvements made to mark-yank-urls