Skip to content

Commit

Permalink
.ejs = .html (Node.js)
Browse files Browse the repository at this point in the history
  • Loading branch information
alessioalex committed Jun 27, 2011
1 parent cc78b8a commit 2bb0e31
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion vim/tmp/README

This file was deleted.

5 changes: 4 additions & 1 deletion vimrc
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 2bb0e31

Please sign in to comment.