Skip to content

Instantly share code, notes, and snippets.

@paitonic
Created September 22, 2021 18:12
Show Gist options
  • Save paitonic/e201195d213ad878fbc832426a14b39f to your computer and use it in GitHub Desktop.
Save paitonic/e201195d213ad878fbc832426a14b39f to your computer and use it in GitHub Desktop.
micro bindings.json
Key Combination Code Action
Alt-j multi cursor selection, "SpawnMultiCursor"
// selection
Shift+Up [1;2A]
Shift+Right [1;2C]
Shift+Down [1;2B]
Shift+Left [1;2D]
Shift+Home [1;2H] -- select to start of the line
Shift+End [1;2F] -- select to end of the line
Ctrl+Up [1;5A] -- scroll up
Ctrl+Left [1;5D] -- move word left
Ctrl+Down [1;5B] -- scroll down
Ctrl+Right [1;5C] -- move word right
Ctrl+Home [1;5H] -- set cursor at the start
Ctrl+End [1;5F] -- set cursor at the end
```json
{
"Alt-/": "lua:comment.comment",
"CtrlUnderscore": "lua:comment.comment",
"Alt-j": "SpawnMultiCursor",
"\u001b[1;2A": "SelectUp",
"\u001b[1;2C": "SelectRight",
"\u001b[1;2B": "SelectDown",
"\u001b[1;2D": "SelectLeft",
"\u001b[1;5D": "WordLeft",
"\u001b[1;5C": "WordRight",
"\u001b[1;5B": "ScrollDown",
"\u001b[1;5A": "ScrollUp",
"\u001b[1;2H": "SelectToStartOfLine",
"\u001b[1;2F": "SelectToEndOfLine",
"\u001b[1;5H": "CursorStart",
"\u001b[1;5F": "CursorEnd"
}
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment