开发者

Keymando 'Reload' Command

开发者 https://www.devze.com 2023-04-08 02:09 出处:网络
I have never gotten this \'reload\' command to work ... regardless of the mapping ... 开发者_运维知识库currently using ...

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

精彩评论

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