1. 程式人生 > >Ubuntu16.04環境下Vim 配置 for HTML,CSS,JAVASCRIPT(1)

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

vimr vimrc ref res runt sta all mpat ()

參考了三篇文章:

  • 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)