沃梦达 / IT编程 / 前端开发 / 正文

Ubuntu16.04环境下Vim 配置 for HTML,CSS,JAVASCRIPT(1)

参考了三篇文章:VIM配置---面向前端使用Vundle管理配置Vim基本插件CSS 语法高亮1、安装Vundlegit clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim2、配置 ~/.vimrcset nocompati...

参考了三篇文章:

  • VIM配置---面向前端
  • 使用Vundle管理配置Vim基本插件
  • CSS 语法高亮

1、安装Vundle

git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim

2、配置 ~/.vimrc

set nocompatible 
filetype off  

" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim

call vundle#begin()

Plugin 'VundleVim/Vundle.vim'

" status bar
Plugin 'bling/vim-airline'

"JavaScript Syntax
Plugin 'othree/yajs.vim'

" CSS color
Plugin 'gorodinskiy/vim-coloresque'

call vundle#end()

filetype plugin indent on " required

set mouse=a

本文标题为:Ubuntu16.04环境下Vim 配置 for HTML,CSS,JAVASCRIPT(1)