VIM插件管理及python环境配置-the5fire.ppt

上传人:tia****nde 文档编号:12707487 上传时间:2020-05-14 格式:PPT 页数:17 大小:482KB
返回 下载 相关 举报
VIM插件管理及python环境配置-the5fire.ppt_第1页
第1页 / 共17页
VIM插件管理及python环境配置-the5fire.ppt_第2页
第2页 / 共17页
VIM插件管理及python环境配置-the5fire.ppt_第3页
第3页 / 共17页
点击查看更多>>
资源描述
VIM插件管理及python开发环境配置,by胡阳2013-03-01blog:,一般情况下的VIM插件管理,插件,为何如此麻烦?,看样子你需要vundle,一个插件管理工具,来看看吧,vundle,gitclone,STEP1,STEP2,setnocompatiblebeiMprovedfiletypeoffrequired!setrtp+=/.vim/bundle/vundle/callvundle#rc()letVundlemanageVundlerequired!Bundlegmarik/vundleMyBundleshere:originalreposongithubBundletpope/vim-fugitiveBundleLokaltog/vim-easymotionBundlerstacruz/sparkup,rtp:vim/Bundletpope/vim-rails.gitvim-scriptsreposBundleL9BundleFuzzyFindernongithubreposBundlegit:/,初始配置.vimrc,然后BundleInstall,要装这些,STEP3,ctrlp.vimctrl+p文件快速跳转jedi-vim代码智能提示lusty最近打开过的文件nerdtree目录树Syntastic/代码规范检查vim-fugitivegit状态,上git一搜即可,STEP4,比如:ctrlp.vim,Bundle?Bundledavidhalter/jedi-vimBundlesjbach/lustyBundlescrooloose/nerdtreeBundlevim-scripts/Syntastic需要flake8Bundletpope/vim-fugitive,删除和更新,STEP5,:BundleClean:BundleInstall!,.vimrc配置三部分,STEP6,插件管理,基础配置,键盘映射,一、插件管理,STEP7,配置vundle安装setnocompatiblebeiMprovedfiletypeoffrequired!setrtp+=/.vim/bundle/vundle/callvundle#rc()letVundlemanageVundlerequired!Bundlegmarik/vundleMyBundleshere:originalreposongithubBundledavidhalter/jedi-vimBundlescrooloose/nerdtreeBundlekien/ctrlp.vimBundlesjbach/lustyBundletpope/vim-fugitiveBundlevim-scripts/Syntasticvim-scriptsreposBundleL9nongithubreposBundlegit:/,二、基础配置,STEP8,一些基本配置filetypepluginindentonrequired!letmapleader=,letg:mapleader=,IgnorecasewhensearchingsetignorecaseWhensearchingtrytobesmartaboutcasessetsmartcaseHighlightsearchresultssethlsearchMakessearchactlikesearchinmodernbrowserssetincsearchUsespacesinsteadoftabssetexpandtabBesmartwhenusingtabs;)setsmarttab,1tab=4spacessetshiftwidth=4settabstop=4AlwaysshowcurrentpositionsetrulerHeightofthecommandbarsetcmdheight=2状态栏配置setlaststatus=2alwayshasstatuslinesetstatusline=%F%m%r%h%wTYPE=%YPOS=%04l,%04v%p%setstatusline+=%=%fugitive#statusline()setstatusline+=%SyntasticStatuslineFlag(),三、键盘映射,STEP9,插件相关配置NERDTree=nmap:NERDTreeToggleletNERDTreeWinSize=22letNERDTreeIgnore=.pyc,.swpswitchwindownnoremaphnnoremapjnnoremapknnoremaplLustyBufferExplorer=nnoremaplb:LustyBufExplorersethidden,演示,常用操作整理,相关资源,pathogen-另一款插件管理工具,ThanksQ&A,
展开阅读全文
相关资源
相关搜索

当前位置:首页 > 图纸专区 > 课件教案


copyright@ 2023-2025  zhuangpeitu.com 装配图网版权所有   联系电话:18123376007

备案号:ICP2024067431-1 川公网安备51140202000466号


本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知装配图网,我们立即给予删除!