为了方便随时随处使用。备份,定期更新

" 通用配置
set ai
set nobackup
set go
=
colo evening
set number

" 解决中文乱码问题
set fileencodings=utf-8,gb2312,gbk,gb18030
set termencoding
=utf-8
set encoding
=prc

if has("autocmd")
" 自动检测文件类型并加载相应的设置
filetype plugin indent on

" Python文件的一般设置,比如不要tab等
autocmd FileType python setlocal et | setlocal sta | setlocal sw=4 | map <F5> :!python.exe "%"
endif

  

相关文章:

  • 2022-12-23
  • 2021-10-04
  • 2021-12-19
  • 2021-06-22
  • 2021-09-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-15
  • 2022-12-23
  • 2022-12-23
  • 2021-10-11
  • 2022-12-23
  • 2022-12-23
  • 2021-09-30
相关资源
相似解决方案