Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
My `Key Bindings` for the `Macally MKEYE` keyboard
// ~/Library/Application Support/Sublime Text 3/Packages/User/Default (OSX).sublime-keymap
[
// Some specific shit for Macally MKEYE keyboard
// http://macally-europe.com/mkeye-0
// Command logging via:
// https://forum.sublimetext.com/t/shortcuts-not-working-ctrl-u-ctrl-etc/5929/2
// Regular find-context shift + enter:
// {
// "keys": ["shift+enter"],
// "command": "find_prev",
// "context": [
// {"key": "panel", "operand": "find"},
// {"key": "panel_has_focus"}
// ]
// },
// Doing "shift+enter" on this keyboard actually gets logged as
// "keypad_enter", so override that
{
"keys": ["keypad_enter"],
"command": "find_prev",
"context": [
{"key": "panel", "operand": "find"},
{"key": "panel_has_focus"}
]
},
// right delete
{
"keys": ["control+backspace"],
"command": "right_delete"
},
// del/home switch
{
"keys": ["home"],
"command": "right_delete"
},
// Sublimelinter shortcut issues - "ctrl" vs. "control"
// Goto next/previous errors from your position, in the current file:
{ "keys": ["control+super+e"], "command": "sublime_linter_goto_error",
"args": { "direction": "next" }
},
{ "keys": ["control+super+shift+e"], "command": "sublime_linter_goto_error",
"args": { "direction": "previous" }
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.