Added coffeescript and stylus support

This commit is contained in:
yan 2012-01-22 18:47:55 -08:00 committed by Yan Pritzker
parent 3abcadae62
commit 14274e080e
6 changed files with 20 additions and 0 deletions

6
.gitmodules vendored
View File

@ -199,3 +199,9 @@
[submodule "vim/bundle/kana-vim-textobj-function"]
path = vim/bundle/kana-vim-textobj-function
url = https://github.com/kana/vim-textobj-function
[submodule "vim/bundle/kchmck-vim-coffee-script"]
path = vim/bundle/kchmck-vim-coffee-script
url = https://github.com/kchmck/vim-coffee-script
[submodule "vim/bundle/wavded-vim-stylus"]
path = vim/bundle/wavded-vim-stylus
url = https://github.com/wavded/vim-stylus

View File

@ -302,6 +302,8 @@ Included vim plugins
* necomplcache - intelligent and fast complete as you type, and added Command-Space to select a completion (same as Ctrl-N)
* snipMate - offers textmate-like snippet expansion + scrooloose-snippets . try hitting TAB after typing a snippet
* jasmine.vim - support for jasmine javascript unit testing, including snippets for it, before, etc..
* vim-coffeescript - support for coffeescript, highlighting
* vim-stylus - support for stylus css language
**TextObjects**

@ -0,0 +1 @@
Subproject commit 2591fefbc78ee7448da8da4a0537a531f710c743

@ -0,0 +1 @@
Subproject commit 9f9031f13f549c901fdedec384f865d06fb1f82c

View File

@ -0,0 +1 @@
au BufWritePost *.coffee silent CoffeeMake! -b | cwindow | redraw!

View File

@ -48,6 +48,15 @@ nnoremap ; :
"Go to last edit location with ,.
nnoremap ,. '.
"When typing a string, your quotes auto complete. Move past the quote
"while still in insert mode by hitting Ctrl-a. Example:
"
" type 'foo<c-a>
"
" the first quote will autoclose so you'll get 'foo' and hitting <c-a> will
" put the cursor right after the quote
imap <C-a> <esc>wa
" ================== rails.vim
"
" Open corresponding unittest (or spec), alias for :AV in rails.vim