vim: add the sort-css shortcut
    
        | author | Steve Losh <steve@stevelosh.com> | 
    
        | date | Fri, 14 May 2010 19:08:15 -0400 | 
    
    
        | parents | 7475a25273da | 
    
        | children | 64388dab95cf | 
    
        | branches/tags | (none) | 
    
        | files | vim/.vimrc | 
Changes
    
--- a/vim/.vimrc	Fri May 14 19:08:00 2010 -0400
+++ b/vim/.vimrc	Fri May 14 19:08:15 2010 -0400
@@ -88,3 +88,6 @@
 " Various syntax stuff
 au BufNewFile,BufRead *.less set filetype=less
 au BufNewFile,BufRead *.markdown set filetype=markdown
+
+" Sort CSS
+map <leader>s ?{<CR>jV/^\s*\}\=$<CR>k:sort<CR>:let @/=''<CR>
\ No newline at end of file