forked from bartman/urxvt-scripts
-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
70 lines (53 loc) · 1.78 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
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
<< 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