Keyboard shortcuts 用于将选择拆分为行的Atom编辑器键盘快捷键
在Atom编辑器中,Ctrl+Shift+L的默认行为是选择语法。我已成功地将此更改为将所选内容拆分为行。现在如何将select语法指定给Ctrl+Shift+J 我将以下内容放在keymap.cson文件中,并且Ctrl+Shift+L正在工作,但此时Ctrl+Shift+J什么也不做Keyboard shortcuts 用于将选择拆分为行的Atom编辑器键盘快捷键,keyboard-shortcuts,atom-editor,Keyboard Shortcuts,Atom Editor,在Atom编辑器中,Ctrl+Shift+L的默认行为是选择语法。我已成功地将此更改为将所选内容拆分为行。现在如何将select语法指定给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:sele
'atom-text-editor':
'ctrl-shift-L': 'editor:split-selections-into-lines'
'ctrl-shift-J': 'editor:select-grammar'
尝试在密钥绑定器解析器中映射它,如下所示:
'atom-workspace atom-text-editor:not([mini])':
'ctrl-shift-j': 'editor:select-grammar'
'atom-text-editor':
'ctrl-shift-j': 'editor:select-grammar'
或
不要忘记保存并重新启动atom。找到了答案
'atom-text-editor':
'ctrl-shift-L': 'editor:split-selections-into-lines'
'ctrl-shift-J': 'grammar-selector:show'
'atom-text-editor':
'ctrl-shift-L': 'editor:split-selections-into-lines'
'ctrl-shift-J': 'grammar-selector:show'