2016-10-09 76 views
0

我使用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"}] 
}, 

請讓我知道我可以有它的工作

回答

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"}] 
},