terminal
$ sudo ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /bin/subl
vimrc
map <silent><leader>os : exe 'silent !subl .'<CR>
Tag Archives: Vim
Vim: How to AutoCompile Less & Coffee with SourceMaps
in .vimrc:
au BufWritePost *.less silent !lessc <afile> --source-map <afile>:r.css au BufWritePost *.coffee silent make -m
Ctags for JavaScript and Less
This is how to achieve “JumpToDefinition” in Vim, for JS and Less files.