summaryrefslogtreecommitdiffstats
path: root/docs/help/completion
blob: 8d695a3725a15d8e10c83170fbeb0f87300f6712 (plain)
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
%9Syntax:%9

COMPLETION %|[-auto] [-delete] <key> <value>

%9Parameters:%9

    -auto:      Inserts the completion without pressing a word completion
                character.
    -delete:    Removes the completion from the configuration.

    A key and the value to use as a replacement. If no argument is given, the
    list of completions will be displayed.

%9Description:%9

    Replaces or completed words or letters; you can write just the first few
    letters of the word and press TAB to insert a replacement.

    When a replacement has been found, Irssi will choose the most probable
    matching word and replaces it; you may press TAB repeatedly to swap between
    matches.

    If you want to remove a completion which has the auto parameter set, you
    need to enclose the completion between "'" characters.

%9Examples:%9

    /COMPLETION w/h without
    /COMPLETION -auto anywya anyway
    /COMPLETION -delete 'anywya'
    /COMPLETION -delete without

%9See also:%9 BIND