aboutsummaryrefslogtreecommitdiffhomepage
path: root/core/ext
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2010-03-23 11:43:09 -0400
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2010-03-23 11:43:09 -0400
commitae5e060928dcd00ac0503b8a2492fc249810d181 (patch)
tree6ef26ca9c7dee30e7ab6ec1e11d6c3aef5bb7364 /core/ext
parent36d8635462be9052395d40ed5ae266d4fc315da9 (diff)
Added key command for resetting zoom level; core/ext/key_commands.lua
Diffstat (limited to 'core/ext')
-rw-r--r--core/ext/key_commands.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/ext/key_commands.lua b/core/ext/key_commands.lua
index 70357a5a..7150be0c 100644
--- a/core/ext/key_commands.lua
+++ b/core/ext/key_commands.lua
@@ -254,6 +254,7 @@ if not MAC then
-- TODO: { function() view.size = view.size + 10 end }
-- TODO: { function() view.size = view.size - 10 end }
}
+ keys.c0 = { function() buffer.zoom = 0 end }
-- Miscellaneous not in standard menu.
-- Recent files.
@@ -417,6 +418,7 @@ else
-- TODO: { function() view.size = view.size + 10 end }
-- TODO: { function() view.size = view.size - 10 end }
}
+ keys.c0 = { function() buffer.zoom = 0 end }
-- Miscellaneous not in standard menu.
-- Recent files.