崇高复古键重新映射

时间:2016-10-09 09:24:14

标签: sublimetext3 sublimetext

我正在使用ST3并尝试将此键重新映射为shift + k

{ "keys": ["$"], "command": "set_motion", "args": {
    "motion": "vi_move_to_hard_eol",
    "motion_args": {"repeat": 1, "extend": true},
    "inclusive": true,
    "clip_to_line": true },
    "context": [{"key": "setting.command_mode"}]
},

另外,我试图将此密钥重新映射为shift + j ...但没有运气

{ "keys": ["^"], "command": "set_motion", "args": {
    "motion": "vi_move_to_first_non_white_space_character",
    "motion_args": {"extend": true },
    "clip_to_line": true },
    "context": [{"key": "setting.command_mode"}]
},

请让我知道如何让它发挥作用

1 个答案:

答案 0 :(得分:0)

只需使用大写字符:

{ "keys": ["K"], "command": "set_motion", "args": {
    "motion": "vi_move_to_hard_eol",
    "motion_args": {"repeat": 1, "extend": true},
    "inclusive": true,
    "clip_to_line": true },
    "context": [{"key": "setting.command_mode"}]
},
相关问题