Skip to content
Browse files

.ejs = .html (Node.js)

  • Loading branch information...
1 parent cc78b8a commit 2bb0e31457656601c844abc6bf538458b60fba82 alessioalex committed Jun 27, 2011
Showing with 4 additions and 2 deletions.
  1. +0 −1 vim/tmp/README
  2. +4 −1 vimrc
View
1 vim/tmp/README
@@ -1 +0,0 @@
-Temporary files should be stored here, such as .swo files.
View
5 vimrc
@@ -50,6 +50,9 @@
set visualbell " No beeping
set dictionary+=$HOME/.vim/includes/dictionary.txt "Custom autocomplete dictionary
+ " ejs in Node.js is kindof like html
+ au BufRead,BufNewFile *.ejs set filetype=html
+
autocmd bufwritepost .vimrc source $MYVIMRC " Source the vimrc file after saving it
" Load a template from the templates folder - function defined in
" includes/functions.php
@@ -106,7 +109,7 @@
"Set a nice title
set titlestring=%t%(\ %M%)%(\ (%{expand(\"%:p:h\")})%)%(\ %a%)\ -\ %{v:servername}
set backspace=indent,eol,start " Intuitive backspace
- set linespace=3 " Prefer a slightly higher line height
+ set linespace=3 " Prefer a slightly higer line height
set number " Show line numbers
set showmatch " Show matching brackets/parenthesis
set incsearch " Find as you type search

0 comments on commit 2bb0e31

Please sign in to comment.
Something went wrong with that request. Please try again.