刚刚在OSX Mountain Lion的实例上安装了Keymando 1.2.2的试用版。似乎没有任何作用 - 我添加简单的键映射,重新加载配置,确保启用Keymando - 没有任何反应。
如果在Mountain Lion上1.2.2应该没问题,有没有人有任何调试技巧?
编辑我应该清楚:我以前从未安装或使用过Keymando,因此配置是安装中的基本配置。这是我添加的地图:
# Start Keymando at login
# -----------------------------------------------------------
start_at_login
# Disable Keymando when using these applications
# -----------------------------------------------------------
disable "Remote Desktop Connection"
# disable /VirtualBox/
# Basic mapping
# -----------------------------------------------------------
# map "<Ctrl-[>", "<Escape>"
# map "<Ctrl-m>", "<Ctrl-F2>"
map "<Ctrl-S>" { say "Keymando." }
# vi type movement, select
except /iTerm/, "MacVim" do
map "<Ctrl-j>", "<Down>"
map "<Ctrl-k>", "<Up>"
map "<Ctrl-h>", "<Left>"
map "<Ctrl-l>", "<Right>"
map "<Ctrl-f>", "<PageUp>"
map "<Ctrl-b>", "<PageDown>"
map "<Ctrl-Shift-j>", "<Shift-Down>"
map "<Ctrl-Shift-k>", "<Shift-Up>"
map "<Ctrl-Shift-h>", "<Shift-Left>"
map "<Ctrl-Shift-l>", "<Shift-Right>"
# Right mouse click
map "<Ctrl-r>" do
right_click
# alert(mouse_x)
end
end
# Commands
# -----------------------------------------------------------
# Command launcher window via Cmd-Space
map "<Cmd- >" do
trigger_item_with(Commands.items, RunRegisteredCommand.new)
end
# Register commands
# -----------------------------------------------------------
command "Volume Up" do
`osascript -e 'set volume output volume (output volume of (get volume settings) + 7)'`
end
command "Volume Down" do
`osascript -e 'set volume output volume (output volume of (get volume settings) - 7)'`
end
# Repeat last command via Cmd-.
map "<Cmd-.>", RunLastCommand.instance
答案 0 :(得分:0)
Keymando 1.2.3解决了这个问题。
见: