Customized fork of github.com/rxi/lite

Renamed core:command/file-finder => core:find-command/file

rxi db8c5ea2 7fbefe40

Changed files
+6 -6
data
+2 -2
data/core/commands/core.lua
··· 35 35 end) 36 36 end, 37 37 38 - ["core:command-finder"] = function() 38 + ["core:find-command"] = function() 39 39 local commands = command.get_all_valid() 40 40 core.command_view:enter("Do Command", function(text, item) 41 41 if item then ··· 54 54 end) 55 55 end, 56 56 57 - ["core:file-finder"] = function() 57 + ["core:find-file"] = function() 58 58 core.command_view:enter("Open File From Project", function(text, item) 59 59 text = item and item.text or text 60 60 core.root_view:open_doc(core.open_doc(text))
+2 -2
data/core/keymap.lua
··· 84 84 85 85 86 86 keymap.add { 87 - ["ctrl+shift+p"] = "core:command-finder", 88 - ["ctrl+p"] = "core:file-finder", 87 + ["ctrl+shift+p"] = "core:find-command", 88 + ["ctrl+p"] = "core:find-file", 89 89 ["ctrl+o"] = "core:open-file", 90 90 ["ctrl+n"] = "core:new-doc", 91 91 ["alt+return"] = "core:toggle-fullscreen",
+2 -2
data/core/rootview.lua
··· 15 15 local x, y, w, h = pos.x, pos.y, self.size.x, self.size.y 16 16 local _, y = common.draw_text(style.big_font, style.dim, "lite", "center", x, y, w, h) 17 17 local lines = { 18 - { fmt = "%s to run a command", cmd = "core:command-finder" }, 19 - { fmt = "%s to open a file from the project", cmd = "core:file-finder" }, 18 + { fmt = "%s to run a command", cmd = "core:find-command" }, 19 + { fmt = "%s to open a file from the project", cmd = "core:find-file" }, 20 20 } 21 21 local th = style.font:get_height() 22 22 for _, line in ipairs(lines) do