# 查看全部python版本javascript
ls /usr/bin/python*php
# 查看python版本css
python --versionhtml
# 修改python版本java
vi ~/.bashrc # 编辑文件添加内容python
alias python='/usr/bin/python3.4' # 添加内容后,保存退出从新启动这个文件vim
. ~/.bashrcbash
# 修改适合python开发环境的vimxml
vim ~/.vimrc # 输入如下内容,并保存退出htm
#-----------------
let Tlist_Auto_Highlight_Tag=1let Tlist_Auto_Open=1let Tlist_Auto_Update=1let Tlist_Display_Tag_Scope=15 let Tlist_Exit_OnlyWindow=1let Tlist_Enable_Dold_Column=1let Tlist_File_Fold_Auto_Close=1let Tlist_Show_One_File=1let Tlist_Use_Right_Window=1let Tlist_Use_SingleClick=1 nnoremap <silent> <F8> :TlistToggle<CR> filetype plugin onautocmd FileType pythonset omnifunc=pythoncomplete#Completeautocmd FileType javascrīpt set omnifunc=javascriptcomplete#CompleteJSautocmd FileType html set omnifunc=htmlcomplete#CompleteTagsautocmd FileType css set omnifunc=csscomplete#CompleteCSSautocmd FileType xml set omnifunc=xmlcomplete#CompleteTagsautocmd FileType php set omnifunc=phpcomplete#CompletePHPautocmd FileType c set omnifunc=ccomplete#Completelet g:pydiction_location='~/.vim/tools/pydiction/complete-dict'set autoindentset tabstop=4set shiftwidth=4set expandtabset number