Renamed package to ion1, and made it conflict with package 'ion'.
[ion1.git] / etc / bindings-default.conf
blobd154a77b3925f77c67ab7633b8849d2748ab61ae
2 # Default key and button bindings for Ion
5 bindings{
6         set_mod "Mod1"
7         kpress "S", "split_vert"
8         
9         kpress "N", "goto_below"
10         kpress "P", "goto_above"
11         kpress "Tab", "goto_right"
12         
13         kpress "1", "switch_ws_nth", 0
14         kpress "2", "switch_ws_nth", 1
15         kpress "3", "switch_ws_nth", 2
16         kpress "4", "switch_ws_nth", 3
17         kpress "5", "switch_ws_nth", 4
18         kpress "6", "switch_ws_nth", 5
19         kpress "7", "switch_ws_nth", 6
20         kpress "8", "switch_ws_nth", 7
21         kpress "9", "switch_ws_nth", 8
22         kpress "0", "switch_ws_nth", 9
23         
24         kpress_waitrel "C", "closedestroy"
26         kpress "A", "query_attachclient"
27         kpress "G", "query_gotoclient"
29         kpress "V", "resize_vert"
30         kpress "H", "resize_horiz"
31         
32         submap "K" {
33                 set_mod "AnyModifier"
34                 kpress "N", "switch_next"
35                 kpress "P", "switch_prev"
36                 kpress "K", "goto_previous"
37                 kpress "S", "split_horiz"
38                 kpress "H", "maximize_horiz"
39                 kpress "V", "maximize_vert"
40                 kpress "Tab", "goto_left"
41                 kpress "X", "destroy_frame"
42                 kpress "C", "kill"
44                 kpress "1", "switch_nth", 0
45                 kpress "2", "switch_nth", 1
46                 kpress "3", "switch_nth", 2
47                 kpress "4", "switch_nth", 3
48                 kpress "5", "switch_nth", 4
49                 kpress "6", "switch_nth", 5
50                 kpress "7", "switch_nth", 6
51                 kpress "8", "switch_nth", 7
52                 kpress "9", "switch_nth", 8
53                 kpress "0", "switch_nth", 9
54         }
56         set_mod ""
57         kpress "F1", "query_runwith", "Manual page:", "ion-man"
58         kpress "Mod1+F1", "exec", "ion-man ion"
59         kpress "F2", "exec", "x-terminal-emulator"
60         kpress "F3", "query_exec"
61         kpress "Mod1+F3", "query_function"
62         kpress "F4", "query_runwith", "SSH to:", "ion-ssh"
63         
64         kpress "F5", "query_runfile", "Edit file:", "ion-edit"
65         kpress "F6", "query_runfile", "View file:", "ion-view"
66         
67         kpress "F9", "query_workspace"
68         kpress "Mod1+F9", "query_workspace_with"
69         kpress "F11", "query_yesno", "Restart Ion (y/n)?", "restart"
70         kpress "F12", "query_yesno", "Exit Ion (y/n)?", "exit"
71         
72         mdrag "Button3", "p_resize"
76 tab_bindings{
77         mclick "Button1", "switch_tab"
78         mdrag "Button1", "p_tabdrag"
79         mdrag "Button3", "p_resize"
83 input_bindings{
84         set_mod "Control"
85         kpress "F", "forward"
86         kpress "B", "back"
87         kpress "E", "eol"
88         kpress "A", "bol"
89         kpress "Z", "bskip_word"
90         kpress "X", "skip_word"
92         kpress "D", "delete"
93         kpress "H", "backspace"
94         kpress "J", "kill_to_eol"
95         kpress "Y", "kill_line"
96         kpress "W", "kill_word"
97         kpress "O", "bkill_word"
99         kpress "U", "scrollup"
100         kpress "V", "scrolldown"
101         kpress "P", "history_prev"
102         kpress "N", "history_next"
104         kpress "M", "finish"
105         kpress "C", "cancel"
106         
107         submap "K" {
108                 set_mod "AnyModifier"
109                 kpress "B", "set_mark"
110                 kpress "Y", "cut"
111                 kpress "K", "copy"
112                 kpress "C", "paste"
113         }
115         set_mod ""
116         kpress "Return", "finish"
117         kpress "Delete", "delete"
118         kpress "BackSpace", "backspace"
119         kpress "Home", "bol"
120         kpress "End", "eol"
121         kpress "Tab", "complete"
122         kpress "Up", "history_prev"
123         kpress "Down", "history_next"
124         kpress "Right", "forward"
125         kpress "Left", "back"
126         kpress "Escape", "cancel"
127         kpress "Page_Up", "scrollup"
128         kpress "Page_Down", "scrolldown"
130         mclick "Button2", "paste"
134 moveres_bindings{
135         set_mod "AnyModifier"
136         kpress "Escape", "cancel_resize"
137         kpress "Return", "end_resize"
138         kpress "V", "grow"
139         kpress "H", "grow"
140         kpress "S", "shrink"