blob: e2a40576be8ad66c8d6ea8767ef4ab222653a66c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
" ~/.vim/ftplugin/css/css.vim
" CSS-specific vim configuration
"
" Syntastic linters: csslint, prettycss, sstylelint
"let g:syntastic_css_csslint_args = "--ignore=order-alphabetical,ids"
setlocal textwidth=80
call matchadd('ColorColumn', '\%81v', 100)
" Tabs are expanded to 4 spaces
setlocal tabstop=4 shiftwidth=4 noexpandtab
" Don't show existing tabs
setlocal nolist
" Mappings
nnoremap <buffer> <leader>C :sp ~/.vim/ftplugin/css/css.vim<CR>
nnoremap <buffer> <leader>e :Errors<CR>
nnoremap <buffer> <leader>s vi{!sort<CR>
|