特定于vim文件.vimrc
发布时间:2020-12-16 01:28:05 所属栏目:安全 来源:网络整理
导读:我想在编辑.txt或.md文件时在 vim上启用拼写检查.我补充道 setlocal spell spelllang=en_au 到.vimrc,但确实拼写检查一切. 虽然我从未尝试过,但这可能适用于autocmd: autocmd BufNewFile,BufRead *.txt setlocal spell spelllang=en_auautocmd BufNewFile,B
我想在编辑.txt或.md文件时在
vim上启用拼写检查.我补充道
setlocal spell spelllang=en_au 到.vimrc,但确实拼写检查一切.
虽然我从未尝试过,但这可能适用于autocmd:
autocmd BufNewFile,BufRead *.txt setlocal spell spelllang=en_au autocmd BufNewFile,BufRead *.md setlocal spell spelllang=en_au (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- Bash:如何将文件夹中的所有内容移动到一个级别?
- angularjs – Angular POST to Web API不传递数据
- 基于DEV控件库的webservice打印.repx模板
- 使用ASIHttpRequest调用WebService
- twitter-bootstrap – 未捕获错误:没有模块:ui.bootstrap
- bash – Shell脚本将文件内容与字符串进行比较
- Scala:Function0 vs by-name参数
- angular – 不会安装Microsoft.AspNetCore.SpaTemplates
- 检查bash中是否存在git branch:奇怪的插值行为
- bootstrap栅栏布局