coffee vim 编译环境
https://github.com/kchmck/vim-coffee-script
根据github配置coffee-vim
Install using Vundle
-
Install Vundle into
~/.vim/bundle/. -
Configure your vimrc for Vundle. Here's a bare-minimum vimrc that enables all the features of
vim-coffee-script:set nocompatible filetype off set rtp+=~/.vim/bundle/vundle/ call vundle#rc() Bundle 'kchmck/vim-coffee-script' syntax enable filetype plugin indent onIf you're adding Vundle to a built-up vimrc, just make sure all these calls are in there and that they occur in this order.
-
Open vim and run
:BundleInstall.
To update, open vim and run :BundleInstall! (notice the bang!)
编译:
:compiler coffee
Configure Syntax Highlighting
vim 设置
set ts=2
set expandtab "将tab换成2个空格
%retab!

浙公网安备 33010602011771号