diff options
Diffstat (limited to 'core/ext/key_commands.lua')
-rw-r--r-- | core/ext/key_commands.lua | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/core/ext/key_commands.lua b/core/ext/key_commands.lua index 738199e6..6181d378 100644 --- a/core/ext/key_commands.lua +++ b/core/ext/key_commands.lua @@ -246,25 +246,6 @@ if not MAC then -- TODO: { function() view.size = view.size - 10 end } } - -- Project Manager - local function pm_activate(text) - t.pm.entry_text = text - t.pm.activate() - end - keys.cP = { function() if t.pm.width > 0 then t.pm.toggle_visible() end end } - keys.cp = { - function() - if t.pm.width == 0 then t.pm.toggle_visible() end - t.pm.focus() - end - } - keys.cap = { - c = { pm_activate, 'ctags' }, - b = { pm_activate, 'buffers' }, - f = { pm_activate, '/' }, - m = { pm_activate, 'modules' }, - } - -- Miscellaneous not in standard menu. -- Recent files. local RECENT_FILES = 1 @@ -426,25 +407,6 @@ else -- TODO: { function() view.size = view.size - 10 end } } - -- Project Manager - local function pm_activate(text) - t.pm.entry_text = text - t.pm.activate() - end - keys.aP = { function() if t.pm.width > 0 then t.pm.toggle_visible() end end } - keys.ap = { - function() - if t.pm.width == 0 then t.pm.toggle_visible() end - t.pm.focus() - end - } - keys.cap = { - c = { pm_activate, 'ctags' }, - b = { pm_activate, 'buffers' }, - f = { pm_activate, '/' }, - m = { pm_activate, 'modules' }, - } - -- Miscellaneous not in standard menu. -- Recent files. local RECENT_FILES = 1 |