Skip to content

Instantly share code, notes, and snippets.

@arbaz52
Created May 8, 2021 15:35
Show Gist options
  • Save arbaz52/09fc9886015941dbb7a878a1690479c3 to your computer and use it in GitHub Desktop.
Save arbaz52/09fc9886015941dbb7a878a1690479c3 to your computer and use it in GitHub Desktop.
    u i o
    j k l
      +
ctrl/alt/shift

alt + i/k/j/l move up/down/left/right on character (+ shift to select/highlight)
alt + u/o move to start/end of the current line (+ shift to select/highlight)
alt + ctrl + j/l move start of current/left word | end of current/right word (+ shift to select/highlight)
[
{
    "key": "shift+ctrl+alt+k",
    "command": "cursorDownSelect",
    "when": "editorTextFocus"
  },
  {
    "key": "shift+ctrl+alt+i",
    "command": "cursorUpSelect",
    "when": "editorTextFocus"
  },
  {
    "key": "shift+alt+k",
    "command": "cursorDownSelect",
    "when": "editorTextFocus"
  },
  {
    "key": "shift+alt+i",
    "command": "cursorUpSelect",
    "when": "editorTextFocus"
  },
  {
    "key": "shift+alt+o",
    "command": "cursorEndSelect",
    "when": "editorTextFocus"
  },
  {
    "key": "shift+alt+u",
    "command": "cursorHomeSelect",
    "when": "editorTextFocus"
  },
  {
    "key": "alt+o",
    "command": "cursorEnd",
    "when": "editorTextFocus"
  },
  {
    "key": "shift+alt+l",
    "command": "cursorRightSelect",
    "when": "editorTextFocus"
  },
  {
    "key": "shift+alt+j",
    "command": "cursorLeftSelect",
    "when": "editorTextFocus"
  },
  {
    "key": "alt+u",
    "command": "cursorHome",
    "when": "editorTextFocus"
  },
  {
    "key": "ctrl+shift+alt+l",
    "command": "cursorWordRightSelect",
    "when": "editorTextFocus"
  },
  {
    "key": "ctrl+shift+alt+j",
    "command": "cursorWordLeftSelect",
    "when": "editorTextFocus"
  },
  {
    "key": "ctrl+alt+l",
    "command": "cursorWordEndRight",
    "when": "editorTextFocus"
  },
  {
    "key": "ctrl+alt+j",
    "command": "cursorWordStartLeft",
    "when": "editorTextFocus"
  },
  {
    "key": "alt+i",
    "command": "cursorUp",
    "when": "editorTextFocus"
  },
  {
    "key": "alt+k",
    "command": "cursorDown",
    "when": "editorTextFocus"
  },
  {
    "key": "alt+ctrl+i",
    "command": "cursorUp",
    "when": "editorTextFocus"
  },
  {
    "key": "alt+ctrl+k",
    "command": "cursorDown",
    "when": "editorTextFocus"
  },
  {
    "key": "alt+l",
    "command": "cursorRight",
    "when": "editorTextFocus"
  },
  {
    "key": "alt+j",
    "command": "cursorLeft",
    "when": "editorTextFocus"
  }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment