public
Last active

Multibind ST3 plugin keymap section example

  • Download Gist
gistfile1.js
JavaScript
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
//########################################
//######################################## MULTIBIND
 
// MISC
{ "keys": ["ctrl+shift+\\"], "command": "multibind_show" },
 
// TOGGLERS
{ "keys": ["alt+\\"], "command": "multibind_toggle", "args": {
"layout": "wasd" }},
{ "keys": ["ctrl+\\"], "command": "multibind_toggle", "args": {
"layout": "symMyNum" }},
 
// WASD NAVIGATION
{ "keys": ["a"], "command":"move", "args": {"by": "characters", "forward": false}, "context": [
{ "key": "multibind.wasd" } ]},
{ "keys": ["d"], "command":"move", "args": {"by": "characters", "forward": true}, "context": [
{ "key": "multibind.wasd" } ]},
{ "keys": ["w"], "command":"move", "args": {"by": "lines", "forward": false}, "context": [
{ "key": "multibind.wasd" } ]},
{ "keys": ["s"], "command":"move", "args": {"by": "lines", "forward": true}, "context": [
{ "key": "multibind.wasd" } ]},
 
// SYMBOL ROW
{ "keys": ["1"], "command":"insert", "args": {"characters": "!"}, "context": [
{"key": "multibind.symMyNum"} ]},
 
{ "keys": ["2"], "command":"insert", "args": {"characters": "\""}, "context": [
{"key": "multibind.symMyNum"} ]},
{ "keys": ["\""], "command":"insert", "args": {"characters": "@"}, "context": [
{"key": "multibind.symMyNum"} ]},
 
{ "keys": ["3"], "command":"insert", "args": {"characters": "#"}, "context": [
{"key": "multibind.symMyNum"} ]},
{ "keys": ["#"], "command":"insert", "args": {"characters": "£"}, "context": [
{"key": "multibind.symMyNum"} ]},
 
{ "keys": ["4"], "command":"insert", "args": {"characters": "$"}, "context": [
{"key": "multibind.symMyNum"} ]},
{ "keys": ["¤"], "command":"insert", "args": {"characters": "¤"}, "context": [
{"key": "multibind.symMyNum"} ]},
 
{ "keys": ["5"], "command":"insert", "args": {"characters": "%"}, "context": [
{"key": "multibind.symMyNum"} ]},
 
{ "keys": ["6"], "command":"insert", "args": {"characters": "&"}, "context": [
{"key": "multibind.symMyNum"} ]},
 
{ "keys": ["7"], "command":"insert", "args": {"characters": "/"}, "context": [
{"key": "multibind.symMyNum"} ]},
{ "keys": ["/"], "command":"insert", "args": {"characters": "{"}, "context": [
{"key": "multibind.symMyNum"} ]},
 
{ "keys": ["8"], "command":"insert", "args": {"characters": "("}, "context": [
{"key": "multibind.symMyNum"} ]},
{ "keys": ["("], "command":"insert", "args": {"characters": "["}, "context": [
{"key": "multibind.symMyNum"} ]},
 
{ "keys": ["9"], "command":"insert", "args": {"characters": ")"}, "context": [
{"key": "multibind.symMyNum"} ]},
{ "keys": [")"], "command":"insert", "args": {"characters": "]"}, "context": [
{"key": "multibind.symMyNum"} ]},
 
{ "keys": ["0"], "command":"insert", "args": {"characters": "="}, "context": [
{"key": "multibind.symMyNum"} ]},
{ "keys": ["="], "command":"insert", "args": {"characters": "}"}, "context": [
{"key": "multibind.symMyNum"} ]},
 
// NUMPAD FIX
{ "keys": ["keypad1"], "command":"insert", "args": {"characters": "1"} },
{ "keys": ["keypad2"], "command":"insert", "args": {"characters": "2"} },
{ "keys": ["keypad3"], "command":"insert", "args": {"characters": "3"} },
{ "keys": ["keypad4"], "command":"insert", "args": {"characters": "4"} },
{ "keys": ["keypad5"], "command":"insert", "args": {"characters": "5"} },
{ "keys": ["keypad6"], "command":"insert", "args": {"characters": "6"} },
{ "keys": ["keypad7"], "command":"insert", "args": {"characters": "7"} },
{ "keys": ["keypad8"], "command":"insert", "args": {"characters": "8"} },
{ "keys": ["keypad9"], "command":"insert", "args": {"characters": "9"} },
{ "keys": ["keypad0"], "command":"insert", "args": {"characters": "0"} },

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.