Keymando 'Reload' Command
I have never gotten this 'reload' command to work ... regardless of the mapping ...
开发者_运维知识库currently using ...
map "<Ctrl-Cmd-r>" { reload } # not reloading either
Could you provide another example?
This is what I'm using, using a mnemonic with the growl plugin:
def reload_configuration
lambda{ growl("Configuration reloaded successfully") if reload}
end
map "<Cmd-y>" do
input("rel" => reload_configuration)
end
精彩评论