[ { "keys": ["home"], "command": "move_to", "args": {"to": "bol", "extend": false}}, { "keys": ["end"], "command": "move_to", "args": {"to": "eol", "extend": false} }, { "keys": ["shift+home"], "command": "move_to", "args": {"to": "bol", "extend": true}}, { "keys": ["shift+end"], "command": "move_to", "args": {"to": "eol", "extend": true} }, ]
前兩行是爲了讓 Home 和 End 鍵跳轉到行首和行尾,後面兩行是爲了讓 Shift+Home 選中到行首, Shift+End 選中到行尾code