在 Atom 编辑器中,Ctrl+Shift+L 的默认行为是选择语法。我已成功将其更改为split-selections-into-lines。我现在如何将 select-grammar 分配给 Ctrl+Shift+J?
我将以下内容放入我的 keymap.cson 文件中,Ctrl+Shift+L 可以正常工作,但是 Ctrl+Shift+J 此时什么都不做。
'atom-text-editor':
'ctrl-shift-L': 'editor:split-selections-into-lines'
'ctrl-shift-J': 'editor:select-grammar'
最佳答案
找到答案
'atom-text-editor':
'ctrl-shift-L': 'editor:split-selections-into-lines'
'ctrl-shift-J': 'grammar-selector:show'
关于keyboard-shortcuts - 用于将选择拆分为多行的 Atom 编辑器键盘快捷键,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50352923/