From d7e926672dba861d2a7b53679a43651f6e681952 Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Sun, 18 Oct 2015 17:30:37 -0200 Subject: [PATCH] Enabled webdev plugins --- configs/vimrc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/configs/vimrc b/configs/vimrc index 6de169f..796b43d 100644 --- a/configs/vimrc +++ b/configs/vimrc @@ -61,7 +61,7 @@ set undofile " saves undo changes in a separate file, so we can undo anytime set lcs=tab:¦\ " uses a special char at the start of a tab character, uses spaces after that set nolist " ... but don't display them by default -let mapleader="," " use comma to start user-defined (in plugins) functions +let mapleader=" " " use space to start user-defined (in plugins) functions syntax sync minlines=1500 " increases the number of lines to find the proper syntax @@ -125,6 +125,8 @@ Plugin 'tomasr/molokai' Plugin 'Glench/Vim-Jinja2-Syntax' Plugin 'fmoralesc/vim-pinpoint' Plugin 'gorodinskiy/vim-coloresque' +Plugin 'kchmck/vim-coffee-script' +Plugin 'mattn/emmet-vim' " Project tree Plugin 'scrooloose/nerdtree' @@ -141,6 +143,9 @@ Plugin 'Shougo/vimshell.vim' " Undo Plugin 'sjl/gundo.vim' +" Editor configuration +Plugin 'editorconfig/editorconfig-vim' + " Mega-autocomplete " Plugin 'Valloric/YouCompleteMe' @@ -238,6 +243,9 @@ au FileType mail setlocal spell spelllang=en " place than Python. au FileType javascript setlocal expandtab tabstop=2 sw=2 sts=2 textwidth=0 +" Default style for cofeescript files +au FileType coffee setlocal noet ts=2 sw=2 sts=2 list + " Default JSON styles " Every file with the extesion "json" should have the filetype "json"; " Use spaces instead of tabs and use 4 spaces for it.