2015-10-20 41 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-:)將快速顯示更正列表。

相關問題