blob: c6785e9965aefb3fa047e3cf508cc014028e9fb7 (
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
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
|
@SYNTAX:bind@
Bind some action to specified keystroke.
Keystroke can have modifiers:
ctrl-x
alt-x
alt-shift-x
Where x being either a single character, or one of the special keys:
Backspace Delete
Home End Prior Next
Up Down Left Right
Insert Return Tab
(these key specifications will some day change to be more epic-like
when I have time to implement it)
Command can be one of:
command - Run any IRC command (you could use /command directly without
specifying this)
(Cursor movement)
backward_character
forward_character
backward_word
forward_word
beginning_of_line
end_of_line
(Scrollback movement)
scroll_backward - Previous page
scroll_forward - Next page
scroll_start - Beginning of the window
scroll_end - End of the window
(Switching windows)
change_window
previous_window
next_window
upper_window
lower_window
active_window - Go to next window with the highest activity
next_window_item - Next channel/query. In empty windows change
to next server
previous_window_item - Previous channel/query. In empty windows change
to previous server
(History)
backward_history
forward_history
(Deleting text)
backspace
delete_character
delete_character
delete_next_word
delete_previous_word
delete_to_previous_space
erase_line
erase_to_beg_of_line
erase_to_end_of_line
(Word completion)
word_completion
check_replaces - Check word replaces
(Misc)
refresh_screen
yank_from_cutbuffer - "Undelete" line
transpose_characters - Swap current and previous character
special_char - Insert special character, data specifies the character.
This is used mostly for setting bold, underline, color, etc.
Examples:
Clear screen:
/BIND Alt-C /CLEAR
People with qwertz layout probably want to swap Alt-Y and Alt-Z:
/BIND Alt-Z change_window 16
/BIND -delete Alt-Y
|