2015-10-20 40 views
6

现在我必须突出显示拼写为拼写错误的单词,然后双击它,然后选择correct spelling,然后选择正确的单词。 我累了只写了所有这些步骤, 任何想法如何更快完成这项工作? 我使用vim插件,所以PLUS 1可以让我避开触控板/鼠标。有没有更快的方法来执行原子中的拼写检查?

回答

1

随着Atom的1.11.0-beta5版本,我必须自己注册拼写检查键盘快捷键。

我把我的keymap.cson以下(编辑 - >键盘映射):

'.platform-darwin atom-text-editor': 
    'cmd-:': 'spell-check:correct-misspelling' 

'.platform-darwin .corrections atom-text-editor': 
    'cmd-:': 'core:cancel' 

'.platform-win32 atom-text-editor': 
    'ctrl-:': 'spell-check:correct-misspelling' 

'.platform-win32 .corrections atom-text-editor': 
    'ctrl-:': 'core:cancel' 

'.platform-linux atom-text-editor': 
    'ctrl-:': 'spell-check:correct-misspelling' 

'.platform-linux .corrections atom-text-editor': 
    'ctrl-:': 'core:cancel' 

'.corrections atom-text-editor[mini]': 
    'enter': 'core:confirm' 
    'tab': 'core:confirm' 

来源:https://github.com/atom/spell-check/blob/master/keymaps/spell-check.cson

8

默认情况下,当光标位于拼写错误的单词上时,键盘快捷方式cmd-shift-:(Windows上的ctrl-shift-:)将快速显示更正列表。

相关问题