From ae5e060928dcd00ac0503b8a2492fc249810d181 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Tue, 23 Mar 2010 11:43:09 -0400 Subject: Added key command for resetting zoom level; core/ext/key_commands.lua --- core/ext/key_commands.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core') 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. -- cgit v1.2.3