2 # Default key and button bindings for Ion
7 kpress "S", "split_vert"
9 kpress "N", "goto_below"
10 kpress "P", "goto_above"
11 kpress "Tab", "goto_right"
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
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"
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"
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
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"
64 kpress "F5", "query_runfile", "Edit file:", "ion-edit"
65 kpress "F6", "query_runfile", "View file:", "ion-view"
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"
72 mdrag "Button3", "p_resize"
77 mclick "Button1", "switch_tab"
78 mdrag "Button1", "p_tabdrag"
79 mdrag "Button3", "p_resize"
89 kpress "Z", "bskip_word"
90 kpress "X", "skip_word"
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"
108 set_mod "AnyModifier"
109 kpress "B", "set_mark"
116 kpress "Return", "finish"
117 kpress "Delete", "delete"
118 kpress "BackSpace", "backspace"
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"
135 set_mod "AnyModifier"
136 kpress "Escape", "cancel_resize"
137 kpress "Return", "end_resize"