-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
66 lines (35 loc) · 1.56 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
This makes switching windows in irssi easier.
Install it like
mkdir -p ~/.irssi/scripts
cp go2.pl ~/.irssi/scripts
Load it like
/script load go2
If you want it automatically loaded for you, instead do
mkdir -p ~/.irssi/scripts/autorun/
ln -s ~/.irssi/scripts/go2.pl ~/.irssi/scripts/autorun/
Use it like
/go<enter>
That's the actual enter key, not the string "<enter>". Duh.
You're then presented with a prompt
Goto:
Start typing the name of a window, its item (channel, nickname, etc), its
number, or its connected network. go2.pl will attempt to guess what you
are looking for and suggest it in inverse text. Pressing tab will cycle
through its possible suggestions. Pressing enter again will select the
currently suggested window or item and switch to it for you.
If you prefer, you can enter your destination with the command such as
/go #channel<enter>
In this case, if it finds exactly one match, you'll go directly to it. If
not, you'll go to the prompt with any possible suggestions presented as usual.
If you are using irssi 0.8.12 or better, you can also do
/go something<tab>
and it will try to guess what you meant, or else take you to the prompt.
If you type a space and a second word, the second word is assumed to be a
network name, which helps disambiguate your input and reduce the amount of
tab cycling you have to do
/go foo bar
There is online help which says more or less the same as what you read here,
available as
/go help
You might also find it useful to bind to a key, such as
/bind meta-w /go