diff options
author | InigoGutierrez <inigogf.95@gmail.com> | 2021-07-15 01:57:30 +0200 |
---|---|---|
committer | InigoGutierrez <inigogf.95@gmail.com> | 2021-07-15 01:57:30 +0200 |
commit | 14791883624bf10227a6ffa9172c8030b87d4675 (patch) | |
tree | 8245e91cf4da07344dd1148b32c51d2b8c33f76d /stow/vim/.vim/ftplugin/css/css.vim | |
parent | b8b7563bd9cf1731cb5dc2e34ed88d5bc1e336c8 (diff) | |
download | configs-14791883624bf10227a6ffa9172c8030b87d4675.tar.gz configs-14791883624bf10227a6ffa9172c8030b87d4675.zip |
Lots of renames: stow can't handle folder with --dotfiles option.
Diffstat (limited to 'stow/vim/.vim/ftplugin/css/css.vim')
-rw-r--r-- | stow/vim/.vim/ftplugin/css/css.vim | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/stow/vim/.vim/ftplugin/css/css.vim b/stow/vim/.vim/ftplugin/css/css.vim new file mode 100644 index 0000000..695243c --- /dev/null +++ b/stow/vim/.vim/ftplugin/css/css.vim @@ -0,0 +1,20 @@ +" ~/.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 2 spaces +setlocal tabstop=2 shiftwidth=2 expandtab +" 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> + |