开发者

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
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜