在Ubuntu 下用vim 搭建python 环境 配置


当前第2页 返回上一页

5. 编辑配置文件
//~/.vimrc 修改当前用户配置,如果需要修改全局配置,vim /etc/vim/vimrc
# vim ~/.vimrc

1

2

3

4

5

let Tlist_Auto_Highlight_Tag=1let Tlist_Auto_Open=1let Tlist_Auto_Update=1let Tlist_Display_Tag_Scope=1let 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=1nnoremap <silent> <F8> :TlistToggle<CR>filetype plugin on

autocmd FileType python set 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 autoindent

set tabstop=4set shiftwidth=4set expandtab

set number

set lines=35 columns=118

右边即为taglist窗口,按F8打开,使用Ctrl+w,再按w可以在code窗口和taglist窗口间切换

以上就是在Ubuntu 下用vim 搭建python 环境 配置的详细内容,更多文章请关注木庄网络博客

返回前面的内容

相关阅读 >>

nginx配置aliyun https

怎么配置属于自己的linux服务器

为什么linux自带python

Ubuntu开机进入grub界面怎么办

Ubuntu中linux常用指令大汇总

centos 下搭建ftp服务器

详解centos7更新yum源步骤

怎么搭建lamp的脚本?

linux之Ubuntu挂载3t硬盘或大于2t磁盘

详解centos和Ubuntu的区别

更多相关阅读请进入《Ubuntu》频道 >>



打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...