2016-11-23 1 views
0

だから私はちょうどエメットコアショートカットを上書きしようとしているが、私はkeymap.csonを編集するとき、私は、このエラーで終わるよ:重複キーに「Ctrl-E」原子にkeymap.cson編集

は/Users/Me/.atom/keymap.cson 重複キーに「Ctrl-e」をロードできませんでした

しかし、私はそれを設定解除し、私はこのエラーを持っているか、なぜそれをremapingてる?これは、y confファイルです:

# Your keymap 
# 
#workaround for emmet mapping of expand-abbreviation 

'.editor': 
    'ctrl-e': 'unset!'       # remove all bindings 
    'ctrl-e': 'editor:move-to-end-of-line'  # remap core binding 
    'alt-cmd-e' : 'emmet:expand-abbreviation' # alternate binding for emmet 

'atom-text-editor': 
    'alt-backspace': 'editor:delete-to-previous-word-boundary' 
    'alt-delete': 'editor:delete-to-next-word-boundary' 

答えて

1

"unset! is only useful when you want to disable a key completely. When you want a key to be bound to a different command than the default, it is unnecessary to use unset!"

を参照してください。私は、彼らはステルス私は最近、どこからともなく、同じ問題の作物を持っていたので、それか何かを更新し、コメントアウト推測「の設定を解除します!」ラインはそれを改善したようだ。

幸運を祈る!

0

したがって、基本的に削除するだけです。'ctrl-e': 'unset!'

関連する問題