vim 前端配置工程师常用的 Vim 插件都有哪些

主题信息(必填)
主题描述(最多限制在50个字符)
申请人信息(必填)
申请信息已提交审核,请注意查收邮件,我们会尽快给您反馈。
如有疑问,请联系
如今的编程是一场程序员和上帝的竞赛,程序员要开发出更大更好、傻瓜都会用到软件。而上帝在努力创造出更大更傻的傻瓜。目前为止,上帝是赢的。个人网站:。个人QQ群:、
个人大数据技术博客:Vundle 是一个 Vim 的插件管理工具,类似于 Bundle 的功能。它可以让你通过配置 .vimrc 文件来安装多个 Vim 插件。
安装 Vundle
直接下载到你的 ~/.vim/bundle/ 目录下,通过脚本就是:
$ mkdir -p ~/.vim/bundle
$ git clone /VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
配置 Vundle
其实也是配置你的 Vim 如何起用 Vundle 以及安装哪些 Vim 插件。可以参考 Read Me 文档:
我的配置文件(前端开发)
重要的东西都在 Plugin 'xxxx/xxxx' 这样的依赖上,只要配置好这些依赖,再重新打开 ~/.vimrc 文件,执行 :PluginInstall 命令,就可以安装 Vim 依赖了,待完成后会有 Done! 字样显示在 Vim 状态栏内。
这是我的 ~/.vimrc 文件全集:
set nocompatible
" be iMproved, required
filetype off
" required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
Plugin 'scrooloose/nerdtree'
Plugin 'fholgado/minibufexpl.vim'
Plugin 'Shutnik/jshint2.vim'
Plugin 'leshill/vim-json'
Plugin 'kchmck/vim-coffee-script'
Plugin 'mislav/vimfiles'
Plugin 'leafgarland/typescript-vim'
Plugin 'tpope/vim-markdown'
Plugin 'tpope/vim-surround'
Plugin 'tpope/vim-fugitive'
Plugin 'marijnh/tern_for_vim'
Plugin 'Xuyuanp/nerdtree-git-plugin'
" All of your Plugins must be added before the following line
call vundle#end()
" required
filetype plugin indent on
" required
" To ignore plugin indent changes, instead use:
"filetype plugin on
" Brief help
" :PluginList
- lists configured plugins
" :PluginInstall
- append `!` to update or just :PluginUpdate
" :PluginSearch foo - append `!` to refresh local cache
" :PluginClean
- confirms remov append `!` to auto-approve removal
" see :h vundle for more details or wiki for FAQ
" Put your non-Plugin stuff after this line
" ------------------------------------------------------------
" ------------------------------------------------------------
" ------------------------------------------------------------
" NERDTree
" ------------------------------------------------------------
"NERDTree: autoload when startup vim
autocmd StdinReadPre * let s:std_in=1
autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif
"NERDTree: C-n to open NERDTree
map &C-n& :NERDTreeToggle&CR&
" NERDTree: File highlighting
function! NERDTreeHighlightFile(extension, fg, bg, guifg, guibg)
exec 'autocmd filetype nerdtree highlight ' . a:extension .' ctermbg='. a:bg .' ctermfg='. a:fg .' guibg='. a:guibg .' guifg='. a:guifg
exec 'autocmd filetype nerdtree syn match ' . a:extension .' #^\s\+.*'. a:extension .'$#'
endfunction
call NERDTreeHighlightFile('jade', 'green', 'none', 'green', '#151515')
call NERDTreeHighlightFile('ini', 'yellow', 'none', 'yellow', '#151515')
call NERDTreeHighlightFile('md', 'blue', 'none', '#3366FF', '#151515')
call NERDTreeHighlightFile('yml', 'yellow', 'none', 'yellow', '#151515')
call NERDTreeHighlightFile('config', 'yellow', 'none', 'yellow', '#151515')
call NERDTreeHighlightFile('conf', 'yellow', 'none', 'yellow', '#151515')
call NERDTreeHighlightFile('json', 'yellow', 'none', 'yellow', '#151515')
call NERDTreeHighlightFile('html', 'yellow', 'none', 'yellow', '#151515')
call NERDTreeHighlightFile('styl', 'cyan', 'none', 'cyan', '#151515')
call NERDTreeHighlightFile('css', 'cyan', 'none', 'cyan', '#151515')
call NERDTreeHighlightFile('coffee', 'Red', 'none', 'red', '#151515')
call NERDTreeHighlightFile('js', 'Red', 'none', '#ffa500', '#151515')
call NERDTreeHighlightFile('php', 'Magenta', 'none', '#ff00ff', '#151515')
" ------------------------------------------------------------
" NERDTree
" ------------------------------------------------------------
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:90980次
积分:1822
积分:1822
排名:第13100名
原创:82篇
转载:10篇
评论:11条
(2)(3)(1)(4)(3)(2)(2)(1)(4)(1)(3)(1)(4)(3)(8)(2)(3)(1)(1)(1)(4)(2)(3)(1)(2)(5)(2)(2)(1)(2)(28)【前端开发】前端工程师常用的 Vim 插件都有哪些?_互联网_易房网
前端工程师常用的 Vim 插件都有哪些?
作者:admin
大家都把平时自己用的Vim插件列举一下吧~。~ 易房网小编为您精选了网友的解决办法,供您参考 ----------------------------------------------------- 网友
大家都把平时自己用的Vim插件列举一下吧~。~易房网小编为您精选了网友的解决办法,供您参考-----------------------------------------------------网友回答:
易房网小编为您精选了网友的解决办法,供您参考-----------------------------------------------------网友回答:
zen coding~~
易房网小编为您精选了网友的解决办法,供您参考-----------------------------------------------------网友回答:
参见Vim常用插件——前端开发工具系列
易房网小编为您精选了网友的解决办法,供您参考-----------------------------------------------------网友回答:
目前用jslint加些括号补全
易房网小编为您精选了网友的解决办法,供您参考-----------------------------------------------------网友回答:
以下是我的$ ls -mcolorizer.vim, FavMenu.vim, LargeFile.vim, NERD_tree.vim, QuickTemplate.vim, TBCompressor.vim, TransferChinese.vim, bufexplorer.vim, calendar.vim, checksyntax.vim, genutils.vim, jsbeautify.vim, mru.vim, nextCS.vim, snipMate.vim, vimwiki.vim, zencoding.vim, jsl.conf
易房网小编为您精选了网友的解决办法,供您参考-----------------------------------------------------网友回答:
minibufexpl.vim
易房网小编为您精选了网友的解决办法,供您参考-----------------------------------------------------网友回答:
1.本站遵循行业规范,任何转载的稿件都会明确标注作者和来源;2.本站的原创文章,请转载时务必注明文章作者和来源,不尊重原创的行为我们将
追究责任;3.作者投稿可能会经我们编辑修改或补充。
内蒙古锡林浩特白音锡勒赛马场 再现马背民族风采
"临时"了14年!20名戚区商贩终于告别危险棚屋
京西行车公寓:20年150万次 没有失误过的叫班
只是在机场买瓶威士忌当伴手礼 英国女子赢走461万
春运的火车,是种什么味道你还记得吗?回顾中国历
山东平邑石膏矿垮塌 大口径救生孔打通
中信银行涉9.69亿元票据案 公安机关已立案侦查
男子拒30万卖奇石 欲无偿捐给国家(图)
友情链接、商务合作QQ:

我要回帖

更多关于 sublime前端常用插件 的文章

 

随机推荐