[
{ "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 选中到行尾