我怎样才能在gVim中拼写检查?
发布时间:2020-12-15 19:04:31 所属栏目:安全 来源:网络整理
导读:在gVim中拼写检查的最佳方法是什么?有加载项还是什么? 我希望它也提供更正. 使用:设置法术以打开拼写检查.如果是源代码,gvim足够智能,只能拼写检查注释和字符串文字. :help spell 将为您提供所有细节.以下是一些摘录: To search for the next misspelled
在gVim中拼写检查的最佳方法是什么?有加载项还是什么?
我希望它也提供更正.
使用:设置法术以打开拼写检查.如果是源代码,gvim足够智能,只能拼写检查注释和字符串文字.
To search for the next misspelled word: ]s Move to next misspelled word after the cursor. A count before the command can be used to repeat. 'wrapscan' applies. [s Like "]s" but search backwards,find the misspelled word before the cursor. Finding suggestions for bad words: z= For the word under/after the cursor,suggest correctly spelled words. To add words to your own word list: zg Add word under the cursor as a good word 有关更改字典以包括其他区域,语言或单词集(例如,医学术语)的信息,请参阅 gvim必须用|编译语法|. 我不放:在我的.vimrc中设置拼写,因为当我编码时,我的评论中有太多变量名称被标记.如果要检查某种文件类型,请在.vimrc中使用自动命令.或者只需在需要时手动打开它. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- 如何使用Bootstrap的modal组件自定义alert,confirm和modal
- typescript – 如何在Angular 2中实现等待连接的AuthGuard
- 基于WebService的样方分析设计与实现
- twitter-bootstrap – Visual Studio 2012的Bootstrap MVC4
- VUE—简单认识
- 有没有办法在Angular2组件中使用内联sass?
- bootstrap使用validate实现简单校验功能
- 解决vim写的Makefile报错:Makefile: missing separator(did
- 在控制器中访问AngularJs指令变量
- Scala中的Any、Nothing、Null、Nil