c23969b27519
vim: fix CSS sorting
author | Steve Losh <steve@stevelosh.com> |
---|---|
date | Wed, 04 Aug 2010 13:31:18 -0400 |
parents | b10d56e62026 |
children | 1abbeecc00ee |
branches/tags | (none) |
files | vim/.vimrc |
Changes
--- a/vim/.vimrc Wed Aug 04 13:30:48 2010 -0400 +++ b/vim/.vimrc Wed Aug 04 13:31:18 2010 -0400 @@ -135,7 +135,7 @@ au BufNewFile,BufRead *.m*down nnoremap <leader>3 I### <ESC> " Sort CSS -map <leader>S ?{<cr>jV/^\s*\}\=$<CR>k:sort<CR>:let @/=''<CR> +map <leader>S ?{<CR>jV/^\s*\}?$<CR>k:sort<CR>:let @/=''<CR> " Clean whitespace map <leader>W :%s/\s\+$//<cr>:let @/=''<CR>