]> git.decadent.org.uk Git - ion3.git/blob - ioncore/ioncore_efbb.lua
Update cfg_kludge_flash for Flash 10
[ion3.git] / ioncore / ioncore_efbb.lua
1 --
2 -- ion/share/ioncore_efbb.lua -- Minimal emergency fallback bindings.
3 -- 
4 -- Copyright (c) Tuomo Valkonen 2004-2009.
5 --
6 -- See the included file LICENSE for details.
7 --
8
9 warn(TR([[
10 Making the following minimal emergency mappings:
11   F2 -> xterm
12   F11 -> restart
13   F12 -> exit
14   Mod1+C -> close
15   Mod1+K P/N -> WFrame.switch_next/switch_prev
16 ]]))
17
18
19 defbindings("WScreen", {
20     kpress("F2", function() ioncore.exec('xterm')  end),
21     kpress("F11", function() ioncore.restart() end),
22     kpress("F12", function() ioncore.exit() end),
23 })
24
25 defbindings("WMPlex", {
26     kpress_wait("Mod1+C", WRegion.rqclose_propagate),
27 })
28
29 defbindings("WFrame", {
30     submap("Mod1+K", {
31         kpress("AnyModifier+N", function(f) f:switch_next() end),
32         kpress("AnyModifier+P", function(f) f:switch_prev() end),
33     })
34 })