Advertisement
Guest User

VS Code keybindings for arrow keys alternative

a guest
Sep 18th, 2019
562
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.92 KB | None | 0 0
  1. // Keybindings to use ; ' \ and [ for left down right up resepectively
  2. [
  3.     {
  4.         "key": "alt+;",
  5.         "command": "cursorLeft",
  6.         "when": "textInputFocus"
  7.     },
  8.     {
  9.         "key": "alt+\\",
  10.         "command": "cursorRight",
  11.         "when": "textInputFocus"
  12.     },
  13.     {
  14.         "key": "alt+'",
  15.         "command": "cursorDown",
  16.         "when": "textInputFocus"
  17.     },
  18.     {
  19.         "key": "alt+[",
  20.         "command": "cursorUp",
  21.         "when": "textInputFocus"
  22.     },
  23.     {
  24.         "key": "shift+alt+;",
  25.         "command": "cursorLeftSelect",
  26.         "when": "textInputFocus"
  27.     },
  28.     {
  29.         "key": "shift+alt+\\",
  30.         "command": "cursorRightSelect",
  31.         "when": "textInputFocus"
  32.     },
  33.     {
  34.         "key": "shift+alt+[",
  35.         "command": "cursorUpSelect",
  36.         "when": "textInputFocus"
  37.     },
  38.     {
  39.         "key": "shift+alt+'",
  40.         "command": "cursorDownSelect",
  41.         "when": "textInputFocus"
  42.     },
  43.     {
  44.         "key": "alt+ctrl+;",
  45.         "command": "cursorWordStartLeft",
  46.         "when": "textInputFocus"
  47.     },
  48.     {
  49.         "key": "alt+ctrl+\\",
  50.         "command": "cursorWordStartRight",
  51.         "when": "textInputFocus"
  52.     },
  53.     {
  54.         "key": "shift+alt+ctrl+;",
  55.         "command": "cursorWordStartLeftSelect",
  56.         "when": "textInputFocus"
  57.     },
  58.     {
  59.         "key": "shift+alt+ctrl+\\",
  60.         "command": "cursorWordStartRightSelect",
  61.         "when": "textInputFocus"
  62.     },
  63.     {
  64.         "key": "alt+p",
  65.         "command": "cursorHome",
  66.         "when": "textInputFocus"
  67.     },
  68.     {
  69.         "key": "alt+]",
  70.         "command": "cursorEnd",
  71.         "when": "textInputFocus"
  72.     },
  73.     {
  74.         "key": "alt+shift+p",
  75.         "command": "cursorHomeSelect",
  76.         "when": "textInputFocus"
  77.     },
  78.     {
  79.         "key": "alt+shift+]",
  80.         "command": "cursorEndSelect",
  81.         "when": "textInputFocus"
  82.     }
  83.    
  84. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement