Note: The Listed platform will permanently shut down December 31, 2026. Your data published on Listed will still be available in your personal Standard Notes account. Learn more

nvim 拼字檢查

最近寫程式一直拼錯字,只好啟用拼字檢查功能。spelloptions=camel 功能主要是為了能夠在程式碼 function 依舊可以正確檢查(畢竟程式碼 function很高機會不是正常單字)

第一行是啟用拼字檢查

第二行是大寫視為新的字的開頭


set spell

set spelloptions=camel

快速鍵:

zg : 新增字到字典

zw : 新增字到字典

z= : 修正現在錯字


You'll only receive email when they publish something new.

More from kjelly
All posts