微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

Vim 常用配置

set nocompatible Syntax on filetype plugin indent on set ic,is,hls set hlsearch set encoding=utf-8 set fileencodings=utf-8,ucs-bom,GB2312,big5 set cursorline set autoindent set smartindent set scrolloff=4 set showmatch set nu set tabstop=4 set expandtab

为python特殊配置的:
let python_highlight_all=1 au Filetype python set tabstop=4 au Filetype python set softtabstop=4 au Filetype python set shiftwidth=4 au Filetype python set textwidth=79 au Filetype python set expandtab au Filetype python set autoindent au Filetype python set fileformat=unix autocmd Filetype python set foldmethod=indent autocmd Filetype python set foldlevel=99


其它看链接
https://zhuanlan.zhihu.com/p/30022074
https://www.cnblogs.com/mikeguan/p/7791522.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐