How to unbind a key binding in Sublime Text 2?

前端 未结 6 631
走了就别回头了
走了就别回头了 2020-12-24 12:02

I have a habit of hitting CTRL+T to open a new tab in ST2. However this invokes the transpose function. I could map the new_file command t

6条回答
  •  南方客
    南方客 (楼主)
    2020-12-24 12:43

    Also, if you're looking to undo a shortcut that was overridden by a plugin (I'm looking at you, "Terminal"):

    1. find your previous shortcut in Preferences -> Key Bindings (Default)
    2. Copy the line (e.g. { "keys": ["super+shift+t"], "command": "reopen_last_file" })
    3. Open Preferences -> Key Bindings (User)
    4. Add the the line in there (if the file is empty, it add [ and ] before the line, since it's an array of commands)

提交回复
热议问题