1

刚刚在 OSX Mountain Lion 实例上安装了 Keymando 1.2.2 的试用版。似乎没有任何效果 - 我添加了简单的键映射,重新加载配置,确保启用 Keymando - 没有任何反应。

如果 1.2.2 在 Mountain Lion 上应该没问题,有没有人有任何调试提示?

编辑我应该清楚:我以前从未安装或使用过 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
4

1 回答 1

0

Keymando 1.2.3 修复了这个问题。

看:

于 2012-09-18T05:14:28.563 回答