Advertisement
Guest User

Untitled

a guest
May 25th, 2019
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 3.34 KB | None | 0 0
  1.     {
  2.         "keys": ["ctrl+right"],
  3.         "command": "move",
  4.         "args": {
  5.             "by": "stops",
  6.             "forward": true,
  7.             "word_begin": false,
  8.             "word_end": true,
  9.             "line_end": true,
  10.             "line_start": true,
  11.             "punct_begin": false,
  12.             "separators": true
  13.         }
  14.     },
  15.     {
  16.         "keys": ["ctrl+right"],
  17.         "command": "move",
  18.         "args": {
  19.             "by": "stops",
  20.             "forward": true,
  21.             "word_end": false,
  22.             "line_start": true,
  23.             "punct_end": true,
  24.             "separators": true
  25.         },
  26.         "context": [
  27.             {
  28.                 "key": "following_text",
  29.                 "operator": "regex_match",
  30.                 "operand": "^ ?[a-zA-Zа-яА-Я_\\-']+(\\:|\\.+|\\,|\\!|\\?|\\;|\").*",
  31.                 "match_all": false
  32.             }
  33.         ],
  34.     },
  35.     {
  36.         "keys": ["ctrl+left"],
  37.         "command": "move",
  38.         "args": {
  39.             "by": "stops",
  40.             "forward": false,
  41.             "word_end": true,
  42.             "punct_end": true,
  43.             "line_begin": true,
  44.             "line_start": true,
  45.             "separators": false
  46.         }
  47.     },
  48.     {
  49.         "keys": ["ctrl+left"],
  50.         "command": "chain",
  51.         "args": {
  52.             "commands": [
  53.                 ["move", {
  54.                     "by": "stops",
  55.                     "forward": false,
  56.                     "word_end": true,
  57.                     "line_start": true,
  58.                 }],
  59.                 ["move", {
  60.                     "by": "stops",
  61.                     "forward": false,
  62.                     "word_end": true,
  63.                     "punct_end": true,
  64.                     "line_start": true,
  65.                 }],
  66.             ]
  67.         },
  68.         "context": [
  69.             {
  70.                 "key": "preceding_text",
  71.                 "operator": "regex_match",
  72.                 "operand": ".* [a-zA-Zа-яА-Я_\\-']+(\\:|\\.+|\\,|\\!|\\?|\\;|\")$",
  73.                 "match_all": false
  74.             }
  75.         ],
  76.     },
  77.  
  78.     {
  79.         "keys": ["ctrl+shift+right"],
  80.         "command": "move",
  81.         "args": {
  82.             "by": "stops",
  83.             "extend": true,
  84.             "forward": true,
  85.             "word_begin": false,
  86.             "word_end": true,
  87.             "line_end": true,
  88.             "line_start": true,
  89.             "punct_begin": false,
  90.             "separators": false
  91.         }
  92.     },
  93.     {
  94.         "keys": ["ctrl+shift+right"],
  95.         "command": "chain",
  96.         "args": {
  97.             "commands": [
  98.                 ["move", {
  99.                     "by": "stops",
  100.                     "extend": true,
  101.                     "forward": true,
  102.                     "word_end": true,
  103.                     "line_start": true,
  104.                 }],
  105.                 ["move", {
  106.                     "by": "stops",
  107.                     "extend": true,
  108.                     "forward": true,
  109.                     "word_end": true,
  110.                     "punct_end": true,
  111.                     "line_start": true,
  112.                 }],
  113.             ]
  114.         },
  115. /*      "command": "move",
  116.         "args": {
  117.             "by": "stops",
  118.             "extend": true,
  119.             "forward": true,
  120.             "word_end": true,
  121.             "line_start": true,
  122.             "punct_end": true
  123.         },*/
  124.         "context": [
  125.             {
  126.                 "key": "following_text",
  127.                 "operator": "regex_match",
  128.                 "operand": "^ ?[a-zA-Zа-яА-Я_\\-']+(\\:|\\.+|\\,|\\!|\\?|\\;|\")",
  129.                 "match_all": false
  130.             }
  131.         ],
  132.     },
  133.     {
  134.         "command": "move",
  135.         "keys": ["ctrl+shift+left"],
  136.         "args": {
  137.             "by": "stops",
  138.             "extend": true,
  139.             "forward": false,
  140.             "word_end": true,
  141.             "punct_end": true,
  142.             "line_begin": true,
  143.             "line_start": true,
  144.             "separators": false
  145.         }
  146.     },
  147.     {
  148.         "keys": ["ctrl+shift+left"],
  149.         "command": "chain",
  150.         "args": {
  151.             "commands": [
  152.                 ["move", {
  153.                     "by": "stops",
  154.                     "extend": true,
  155.                     "forward": false,
  156.                     "word_end": true,
  157.                     "line_start": true,
  158.                 }],
  159.                 ["move", {
  160.                     "by": "stops",
  161.                     "extend": true,
  162.                     "forward": false,
  163.                     "word_end": true,
  164.                     "punct_end": true,
  165.                     "line_start": true,
  166.                 }],
  167.             ]
  168.         },
  169.         "context": [
  170.             {
  171.                 "key": "preceding_text",
  172.                 "operator": "regex_match",
  173.                 "operand": ".* [a-zA-Zа-яА-Я_\\-']+(\\:|\\.+|\\,|\\!|\\?|\\;|\")$",
  174.                 "match_all": false
  175.             }
  176.         ],
  177.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement