Last active
March 5, 2018 19:08
-
-
Save loisaidasam/d1568c4bf7067b0eb8049c040224b60d to your computer and use it in GitHub Desktop.
My `Key Bindings` for the `Macally MKEYE` keyboard
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
// ~/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