Skip to content

Instantly share code, notes, and snippets.

@loisaidasam
Last active March 5, 2018 19:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save loisaidasam/d1568c4bf7067b0eb8049c040224b60d to your computer and use it in GitHub Desktop.
Save loisaidasam/d1568c4bf7067b0eb8049c040224b60d to your computer and use it in GitHub Desktop.
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