现在我必须突出显示拼写错误的单词,然后双击它,然后选择 correct spelling,然后选择正确的单词.我很累,只是写了所有这些步骤,任何想法如何更快地完成这项工作?我使用vim插件,所以PLUS 1适用于任何可以让我避开触控板/鼠标的解决方案.
使用Atom 1.11.0-beta5版本时,我必须自己注册拼写检查键盘快捷键。
我将以下内容放入keymap.cson中(编辑 -> Keymap):
'.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'
Run Code Online (Sandbox Code Playgroud)
来源:https ://github.com/atom/spell-check/blob/master/keymaps/spell-check.cson
| 归档时间: |
|
| 查看次数: |
3949 次 |
| 最近记录: |