[OS]: Ubuntu
[Path]: ~/.vimrc (create one if don't have)
here is how to config vim for python:
filetype plugin indent on
syntax on
au BufNewFile,BufRead *.py set ts=4 softtabstop=4 shiftwidth=4 expandtab=4 smarttab autoindent
and why you can't use source ~/.vimrc in your terminal after you finished configuration.
No comments:
Post a Comment