python的vim设置
发布时间:2020-12-15 11:41:39 所属栏目:Python 来源:互联网
导读:我有以下设置文件: # ~/.vimrcset tabstop=4set shiftwidth=4set smarttabset expandtabset softtabstop=4set autoindent 我如何才能将这些设置仅应用于python?另外,我如何添加python着色(例如textmate对每种语言都有)? 我的配置中有这些行: filetype plu
|
我有以下设置文件: # ~/.vimrc set tabstop=4 set shiftwidth=4 set smarttab set expandtab set softtabstop=4 set autoindent 我如何才能将这些设置仅应用于python?另外,我如何添加python着色(例如textmate对每种语言都有)? 解决方法我的配置中有这些行:filetype plugin indent on syntax on au BufNewFile,BufRead *.py set tabstop=4 softtabstop=4 shiftwidth=4 expandtab smarttab autoindent 这可能是你正在寻找着色: (编辑:东莞站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- python – 在字符串列表中标记动态子字符串
- python – 在numpy数组中获取具有最小长度的相同条目的序列
- python – 使用scikit-learn(sklearn),如何处理线性回归的缺
- python – Django的call_command失败,缺少必需的参数
- 在远程服务器上使用ein(emacs ipython notebook)
- python – 编写一个通用的getattr()并根据attr名称填充方法
- python – 在REST框架中返回字典而不是数组
- python – 如何在PyCharm中找到所有未使用的类的方法?
- Python中反引号字符的含义
- python – 在HTML页面快速算法中查找单词
推荐文章
站长推荐
热点阅读
